Skip to content

Conversation

@helixbass
Copy link
Collaborator

Fixes #4489

Splits INVALID_ESCAPE regex into separate regexes REGEX_INVALID_ESCAPE (which doesn't match back-references eg \1) and STRING_INVALID_ESCAPE, thus avoiding the special-case logic for regex back-references (which contained the bug)

@lydell
Copy link
Collaborator

lydell commented Apr 7, 2017

Nice catch, and nice fix! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants