Package Exports
- regex-parser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (regex-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
regex-parser 
A module that parses a string as regular expression and returns the parsed value.
Installation
$ npm i regex-parserExample
// Dependencies
var RegexParser = require("regex-parser");
console.log(RegexParser("/^hi$/g"));
// => /^hi$/gDocumentation
RegexParser(input)
Parses a string input.
Params
- String
input: The string input that should be parsed as regular expression.
Return
- RegExp The parsed regular expression.
How to contribute
Have an idea? Found a bug? See how to contribute.
Where is this library used?
If you are using this library in one of your projects, add it in this list. ✨