A JavaScript implementation of RegExp for debugging purpose.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build Simplify buidling of new objects Sep 14, 2013
frontend
lib Fix instanceof issue :) Sep 14, 2013
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