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

String Highlighting Incorrect (Greedy) #13

Closed
samtatasurya opened this issue Jan 25, 2018 · 0 comments · Fixed by #14
Closed

String Highlighting Incorrect (Greedy) #13

samtatasurya opened this issue Jan 25, 2018 · 0 comments · Fixed by #14

Comments

@samtatasurya
Copy link

Problem
Syntax highlighting for strings is incorrect. It performs greedy search for the closing quote character.
The screenshot below shows the issue on VS Code:
string_sample

Solution
Change the regular expression for normal strings to perform non-greedy search for the closing quote character.

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

Successfully merging a pull request may close this issue.

1 participant