Simple and easy regular expression utility for node
Using npm:
$ npm i -g npm
$ npm i --save regex-easy
In Node.js:
let re = require('regex-easy');
Usage
let r = new re.regex(pattern[string], flags[optional|string], escape[optional|boolean]);
r.exec(string)
r.test(string)
re.escape(string);
To read more about regular expressions
About
Contributing
Pull requests are always welcome. For bugs and feature requests, please create an issue.
Running Tests
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm i --save regex-easy && cd node_modules/regex-easy/ && npm test && cd ../../
Author
Sameer Saini
Let's connect