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

Comments allowed after closing braces or brackets #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KebapBoy
Copy link

This commit fixes issue #11

image

Further test cases are available here: https://github.com/KebapBoy/vscode-hjson/tree/test-cases/test-cases

@@ -966,7 +966,7 @@
</dict>
</dict>
<key>end</key>
<string>(\])(?:\s*([^,\s\}]+))?</string>
Copy link
Author

@KebapBoy KebapBoy Jan 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A closing curly bracket } does not have to be escaped inside a character class - therefore I have removed the backslash \

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 this pull request may close these issues.

1 participant