regexp
Regex Parser (fork from regexp)
Regex parser based on descriptions in http://www.javascriptkit.com/javatutors/redev2.shtml
Installation
npm install regexp2
Usage
- other demo
;; ;; ;;;
assert.deepEqualres,
Contributing
To run tests:
$ npm install$ npm test
This will also automatically compile index.js
.
The key source files are src/grammer.pegjs
which is compiled using pegjs and src/index.js
which is a CommonJS module with a special additional pseudo import
statement.
License
MIT