|
3 hete | |
---|---|---|
.. | ||
lib | 3 hete | |
LICENSE | 3 hete | |
README.md | 3 hete | |
package.json | 3 hete |
A module that parses a string as regular expression and returns the parsed value.
# Using npm
npm install --save regex-parser
# Using yarn
yarn add regex-parser
// Dependencies
var RegexParser = require("regex-parser");
console.log(RegexParser("/^hi$/g"));
// => /^hi$/g
There are few ways to get help:
RegexParser(input)
Parses a string input.
input
: The string input that should be parsed as regular expression.Have an idea? Found a bug? See how to contribute.
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
Bitcoin—You can send me bitcoins at this address (or scanning the code below): 1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6
Thanks! :heart: