This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
Which leading characters should be escaped? #66
Closed
Description
As noted in #58 (comment) , an unescaped non-digit leading character could still be interpreted as part of an escape sequence spanning concatenated RegExp.escape
output.
consider e.g.
new RegExp("\\c" + RegExp.escape("J"))
in a web browser implementing |ExtendedAtom|, where the result should match"\\cJ"
and [unlike/\cJ/
] fail to match"\n"
Metadata
Metadata
Assignees
Labels
No labels