Create regular expression patterns based on a list of strings to be matched.
MIT License
regex-trie-cli is a command-line interface for regex-trie. Easily create regular expression patterns based on a list of strings to match from the command line!
$ npm install -g regex-trie-cli
$ regex-trie --help
Usage
$ regex-trie string1 string2 string3 …
Examples
$ regex-trie foo bar baz qux quux corge grault
(?:foo|ba[rz]|qu(?:x|ux)|corge|grault)
Mathias Bynens |
regex-trie-cli is available under the MIT license.