Skip to content
Create regular expression patterns based on a list of strings to be matched.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.travis.yml
LICENSE-MIT.txt
README.md
cli.js
package.json
test.js

README.md

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.

You can’t perform that action at this time.