mozilla/dxr — pull request #328 by erikrose (2014-09-11 20:49:01+00:00)
Title: JS Regex Translation

Here's the machinery that translates DXR-flavored (Python- and PCRE-ish except without a few fancy feature like lookarounds (so far)) to JS ones. Really, the only difference is that \c means something in JS's regexes but not in Python's. You can see in the tests that the ones expecting a difference are very few.