https://github.com/mathiasbynens/regex-trie-cli
Create regular expression patterns based on a list of strings to be matched.
https://github.com/mathiasbynens/regex-trie-cli
Last synced: about 2 months ago
JSON representation
Create regular expression patterns based on a list of strings to be matched.
- Host: GitHub
- URL: https://github.com/mathiasbynens/regex-trie-cli
- Owner: mathiasbynens
- License: mit
- Created: 2016-03-16T12:39:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-16T13:06:15.000Z (about 9 years ago)
- Last Synced: 2025-03-28T22:23:36.954Z (2 months ago)
- Language: JavaScript
- Homepage: https://github.com/mathiasbynens/regex-trie-cli
- Size: 2.93 KB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT.txt
Awesome Lists containing this project
README
# regex-trie-cli [](https://travis-ci.org/mathiasbynens/regex-trie-cli)
regex-trie-cli is a command-line interface for [regex-trie](https://github.com/alexeld/regex-trie). Easily create regular expression patterns based on a list of strings to match from the command line!
## Installation
```bash
$ npm install -g regex-trie-cli
```## Usage
```
$ regex-trie --helpUsage
$ regex-trie string1 string2 string3 …Examples
$ regex-trie foo bar baz qux quux corge grault
(?:foo|ba[rz]|qu(?:x|ux)|corge|grault)
```## Author
| [](https://twitter.com/mathias "Follow @mathias on Twitter") |
|---|
| [Mathias Bynens](https://mathiasbynens.be/) |## License
_regex-trie-cli_ is available under the [MIT](https://mths.be/mit) license.