Incorrect handling of dashes inside character classes
ju1ius opened this issue ยท 1 comments
ju1ius commented
Hi again ๐,
Parsing the pattern [\w-]
throws Unexpected token "-" (range) at line 1 and column 4
.
When encountered at the last position of a character class, a dash should produce a token with the value "-".
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.