newregexp
v1.3.0
Published
Dynamically create regular expressions from strings
Downloads
9,438
Readme
newregexp
Dynamically create regular expressions from strings
Please ★ this repo if you found it useful ★ ★ ★
Features
- Create regex from string
- Works with native javascript RegExp api
- Understands regex flags
- Supports typescript
Installation
npm install --save newregexp
Dependencies
Usage
import newRegExp from 'newregexp';
const regex = newRegExp('/hello/g');
regex.test('hello'); // true
Support
Submit an issue
Screenshots
Contribute a screenshot
Contributing
Review the guidelines for contributing
License
Jam Risser © 2018
Changelog
Review the changelog
Credits
- Jam Risser - Author
Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
Add some fuel if you'd like to keep me going!