vlad 6f123ff03e 18.07 | il y a 6 ans | |
---|---|---|
.. | ||
bin | il y a 6 ans | |
CHANGELOG | il y a 6 ans | |
LICENSE.BSD | il y a 6 ans | |
README.md | il y a 6 ans | |
package.json | il y a 6 ans | |
parser.js | il y a 6 ans |
Parsing the JavaScript's RegExp in JavaScript.
npm install regjsparser
var parse = require('regjsparser').parse;
var parseTree = parse('^a'); // /^a/
console.log(parseTree);
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.