A JavaScript implementation of RegExp for debugging purpose.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
frontend
lib
test
Jakefile
LICENSE.BSD
README.md
index.html
index.js
package.json
test.html
test.js

README.md

RegExp.JS

Implementing the JavaScript RegExp object in pure JavaScript again.

Demo: http://jviereck.github.io/regexp.js/

A talk about RegExp.JS can be found here. Slides are available on SpeakerDeck.

Building and testing

Build the file build/browser.js by executing.

browserify index.js -d -w -o build/browser.js

To run (all) tests, you have to first get the files from

http://hg.ecmascript.org/tests/test262/

and place them under test/test262/. Then run

node test.js

to execute the tests from RegExp.JS themself and to run the test262 tests, run

node test/run_test262.js