regex-trie-cli

Create regular expression patterns based on a list of strings to be matched.

MIT License

Downloads
5
Stars
17
Committers
1

regex-trie-cli Build status

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!

Installation

$ npm install -g regex-trie-cli

Usage

$ 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)

Author

twitter/mathias
Mathias Bynens

License

regex-trie-cli is available under the MIT license.

Package Rankings
Top 25.96% on Npmjs.org
Badges
Extracted from project README
Build status twitter/mathias
Related Projects