GT2/GT2-Android/node_modules/regjsparser
Ren Ren Juan c5fd23b54f Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
..
bin Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
node_modules Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
CHANGELOG Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
LICENSE.BSD Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
README.md Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
package.json Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00
parser.js Get new tree with state verified with current React Native on both platforms 2018-02-12 17:11:06 +00:00

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.