jviereck / regjsparser

Parsing the JavaScript's RegExp in JavaScript.
http://www.julianviereck.de/regjsparser/
BSD 2-Clause "Simplified" License
77 stars 20 forks source link

Regression: `(a)\1` throws when parsed with the `u` flag #121

Closed nicolo-ribaudo closed 2 years ago

nicolo-ribaudo commented 2 years ago
parse("(a)\\1", "u")

throws, but it's a valid regex.

This regression was probably introduced by #115; I'm working on a fix.