regexgen-cli
CLI interface for regexgen. It Generates regular expressions that match a set of strings.
Install
$ npm install regexgen-cli --global
Usage
$ regexgen --help
Generates regular expressions that match a set of strings.
Usage
$ regexgen [-gimuy] string1 string2 string3...
Examples
$ regexgen foobar foobaz foozap fooza
$ jq '.keywords' package.json | regexgen
Related
- randexp.js – Generate a random string that matches a given RegExp.
License
MIT © Kiko Beats.