Skip to content

\\G matches unicode character 0xFFFF  #232

@RedCMD

Description

@RedCMD

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
abc�def

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

caused by

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions