Skip to content

pattern match with escaped-double quote being reported as error #227

Description

@raven42

I'm seeing an issue when using this along with the vscode extension where an error is reported in a regular expression string in the pattern statement when a double quote is used and escaped as per the yang RFC standards. The only way I can seem to fix this is adding two double-quotes instead of an escaped double-quote.

Example error:
image

Two double-quotes seems to fix this:
image

My understanding is a double-quote should be escaped, not two double-quotes to have it recognized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions