vscode-textmate icon indicating copy to clipboard operation
vscode-textmate copied to clipboard

`\\G` matches unicode character 0xFFFF `￿`

Open RedCMD opened this issue 2 months ago • 1 comments

create a grammar with a rule containing \\G

"match": "\\G",
"name": "invalid"

run the grammar on a file containing the unicode character 0xFFFF

expected: it doesn't match anything, as there are no \\G anchors available

actual: it matches the unicode char 0xFFFF

image abcdef

the char does actually pop up in multiple files inside VSCode so this is not a non-issue issue image

RedCMD avatar May 28 '24 01:05 RedCMD