regexgen
GitHub describes it as Generate regular expressions that match a set of strings. The repository metadata lists JavaScript as its primary language. This article stays within the project description and details documented in the GitHub repository README.
devongovett/regexgen: CLI
GitHub describes it as Generate regular expressions that match a set of strings. The repository metadata lists JavaScript as its primary language. This article stays within the project description and details documented in the GitHub repository README.
Repository scope
GitHub describes it as Generate regular expressions that match a set of strings. The repository metadata lists JavaScript as its primary language. The README describes the project this way: The optional first parameter is the flags to add to the regex (e.g. -i for a case insensitive match).
ES2015 and Unicode
The README section "ES2015 and Unicode" states: By default regexgen will output a standard JavaScript regular expression, with Unicode codepoints converted into UCS-2 surrogate pairs.
ES2015 and Unicode
The README section "ES2015 and Unicode" states: If desired, you can request an ES2015-compatible Unicode regular expression by supplying the -u flag, which results in those codepoints being retained.
ES2015 and Unicode
The README section "ES2015 and Unicode" states: Such regular expressions are compatible with current versions of Node, as well as the latest browsers, and may be more transferrable to other languages.
Editorial conclusion
The repository README is the source for this review. It does not replace a local installation or an independent test.
Community notes