Closed JLHwung closed 3 years ago
AST Explorer.
Currently,
/([\1])/
is parsed as
{ "type": "group", "behavior": "normal", "body": [ { "type": "characterClass", "body": [ { "type": "reference", "matchIndex": 1, "range": [ 2, 4 ], "raw": "\\1" } ], "negative": false, "range": [ 1, 5 ], "raw": "[\\1]" } ], "range": [ 0, 6 ], "raw": "([\\1])" }
where \1 should have been parsed as a value.
\1
AST Explorer.
Currently,
is parsed as
where
\1
should have been parsed as a value.