Reimplement RegExp in JavaScript

Reimplement RegExp in JavaScript

Regular expressions are used in many places to filter and validate input. While they are cute and powerful, they are usually hard to write and debug. So why not implement the entire RegExp object in JavaScript, such that each execution step can be visualized and debugging becomes easy? And what happens if you build a RegExp JIT in JavaScript that gets JITed by the JavaScript JIT … ;)

Ab38de92352dcefa63449c7bf133de26?s=128

Julian Viereck

September 15, 2013
Tweet