You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regular Expression Syntax Highlighting only recognising control characters if uppercase #1063
Activity
RedCMD commentedon Dec 6, 2025
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions/Character_classes#types states only capital letters
tho lower case does work
symbols are treated as liberals
/\c@/matches the literal\c@(even tho the backslash should technically be escaped itself)should move issue to upstream grammar repo https://github.com/microsoft/TypeScript-TmLanguage
I will provide a fix in my own extension shortly
https://marketplace.visualstudio.com/items?itemName=RedCMD.regexp-syntax-highlighter
TomStrepsil commentedon Dec 7, 2025
p.s. if useful, here's the definition of the modulo behaviour in the ECMA spec:
TomStrepsil commentedon Dec 7, 2025
Have raised mdn/content#42273
Fix lowerCaseControlCharacters
RedCMD commentedon Dec 9, 2025
fixed in my extension
before:

after:

commit: RedCMD/regex-syntax-highlighter-vscode@ef3c44e#diff-dcc2f871f0fa04ceb3b9e4bc88f3d4db3de22e6570989029a6a76002613a27a3