Skip to content

Conversation

@vitallium
Copy link

Hi, this PR fixes this issue #284

I was thinking about several approaches to fix it but I ended up with this change. Basically, I added additional condition to regex literals (\d and so on) from the early return when encountering backslashes in scanner. That fixes the issue by allowing the scanner to advance past escape sequences in regexes. Let me know if there is a better way. Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant