getify / literalizer

Specialized heuristic lexer for JS to identify complex literals
16 stars 2 forks source link

Adding a breaking regex test #6

Closed ljharb closed 11 years ago

getify commented 11 years ago

Thanks for bringing up this breakage. It wasn't anything to do with the unicode at all, it was a much simpler problem. :)

The problem turned out to be an incorrect identification pattern for an ending / that has no flags on it. Corrected with this commit: https://github.com/getify/literalizer/commit/1001ff923d01f8f191e38d5a4c0d121741da3471