Skip to content

Commit

Permalink
fix \" syntax in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Sep 18, 2024
1 parent 69b2825 commit 05b8b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/heta.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
},
"string": {
"name": "string.other.heta",
"match": "\".*?\"|[^\"]*?(?=(//|/\\*|,|}|]|$))"
"match": "(?<!\\\\)\".*?(?<!\\\\)\"|[^\"]*?(?=(//|/\\*|,|}|]|$))"
},
"array": {
"name": "meta.array.heta",
Expand Down

0 comments on commit 05b8b47

Please sign in to comment.