Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
raven42 opened this issue May 16, 2023 · 1 comment
Open

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

raven42 opened this issue May 16, 2023 · 1 comment

Comments

@raven42
Copy link

raven42 commented May 16, 2023

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.

@mvystrcil
Copy link

Same issue here, also have some escaped double quotes in our codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants