Ryuiso b1774d2c86 no message 1 gadu atpakaļ
..
bin b1774d2c86 no message 1 gadu atpakaļ
node_modules b1774d2c86 no message 1 gadu atpakaļ
CHANGELOG b1774d2c86 no message 1 gadu atpakaļ
LICENSE.BSD b1774d2c86 no message 1 gadu atpakaļ
README.md b1774d2c86 no message 1 gadu atpakaļ
package.json b1774d2c86 no message 1 gadu atpakaļ
parser.js b1774d2c86 no message 1 gadu atpakaļ

README.md

RegJSParser

Parsing the JavaScript's RegExp in JavaScript.

Installation

npm install regjsparser

Usage

var parse = require('regjsparser').parse;

var parseTree = parse('^a'); // /^a/
console.log(parseTree);

Testing

To run the tests, run the following command:

npm test

To create a new reference file, execute…

node test/update-fixtures.js

…from the repo top directory.