Skip to content

Commit

Permalink
docs(README): Added more information to the standards table.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anadian committed Oct 25, 2021
1 parent 8eb712d commit 2e36c85
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ I love [regex](https://en.wikipedia.org/wiki/Regular_expression)! It's extremely
ID | "Standard" | Uses
--- | --- | ---
`basic` | [Posix.2 "Basic Regular Expression" (BRE)](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_03) | `grep`, `ed` and C (`<regex.h>`)
`extended` | [Posix.2 "Extended Regular Expressions" (ERE)](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04) | `egrep` and C (`<regex.h>`)
`extended` | [Posix.2 "Extended Regular Expressions" (ERE)](https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_04) | `egrep`, BASH and C (`<regex.h>`)
`pcre` | [Perl Compatible Regular Expressions (PCRE)](https://www.pcre.org/) | PCRE library, Perl, PHP, and many others.
`vim` | [Vim Pattern](https://vimhelp.org/pattern.txt.html) | Vim
`ecma` | [ECMAscript RegExp](https://262.ecma-international.org/12.0/#sec-regexp-regular-expression-objects) | Javascript, Web Browsers, ~Java
Expand Down
7 changes: 7 additions & 0 deletions node_modules/application-log-winston-interface/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions node_modules/application-log-winston-interface/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/extract-documentation-comments/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions node_modules/extract-documentation-comments/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions source/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,24 @@ AVA.cb('CLI:STDIOToSTDOUT', function(t){
var stderr_string = '';
var expected_stdout = '';
var process_object = ChildProcess.fork('source/main.js', ['-xio'], { silent: true });
process_object.stdio[1].on('data', function(chunk){
console.log('stdout chunk: ', chunk.toString());
stdout_string += chunk.toString();
});
process_object.stdio[2].on('data', function(chunk){
console.log('stderr chunk: ', chunk.toString());
stderr_string += chunk.toString();
});
process_object.on('exit', function(code, signal){
console.log(`code: ${code} signal: ${signal}`);
console.log(`stdout_string: ${stdout_string} stderr_string: ${stderr_string}`);
if( code === 0 ){
t.is(stdout_string,expected_stdout);
} else{
t.fail();
}
t.end();
});
}
AVA.cb('CLI:InputRegexStringToSTDOUT', function(t){
var process_object = ChildProcess.fork('source/main.js', ['-v', '--input-regex-string', 'pcre/(simple)? regex/replace/vim', '-o'], { silent: true });
Expand Down
3 changes: 2 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,5 @@ async function test3(t){
});
//console.log('node_fork_async_silent: %o', node_fork_async_silent);
}
test3(null);
test().then(test2().then(test3()));
//test3(null);
Empty file modified test2.js
100644 → 100755
Empty file.

0 comments on commit 2e36c85

Please sign in to comment.