fix(type): preserve escaped backslash in regex string literals (#1634)
Passes `Backslash` as `escapeEscape` when scanning a regex literal, so `\\` stays a literal backslash instead of collapsing into the following character. Previously `"/^\\\\$/"` parsed to `^\$`, silently matching a literal `$`. Completes the convention arkregex already uses in `charset.ts`. Thanks to @spokodev.
S
spokodev committed
93dbc3f6981fb98c139255d1cebe867c4f1abf5a
Parent: 207c644
Committed by GitHub <noreply@github.com>
on 9/18/2026, 6:05:01 PM