The expression /=/
does not get parsed as a regexp
#2148
Labels
bug
Something isn't working
good first issue
Good for newcomers
lexer
Issues surrounding the lexer
parser
Issues surrounding the parser
Milestone
Describe the bug
The expression
/=/
does not get parsed as a regexpTo Reproduce
That throws this: "unexpected token '/=', primary expression at line 1, col 15"
Expected behavior
It should give me the regular expression for a single
=
. A workaround I used is just using /.{0}=/, but this should work without it.Build environment (please complete the following information):
(tested it on my machine and on the playground)
The text was updated successfully, but these errors were encountered: