Skip to content

Commit

Permalink
fix(grammar): adapt to upstream regex change
Browse files Browse the repository at this point in the history
  • Loading branch information
clason committed Apr 20, 2024
1 parent 5849f96 commit 584522f
Show file tree
Hide file tree
Showing 6 changed files with 1,231 additions and 820 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ module.exports = grammar({
/[0-7]{1,3}/,
/x[0-9a-fA-F]{2}/,
/u[0-9a-fA-F]{4}/,
/u{[0-9a-fA-F]+}/,
/u\{[0-9a-fA-F]+\}/,
/U[0-9a-fA-F]{8}/,
),
)),
Expand Down
2 changes: 1 addition & 1 deletion src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -3023,7 +3023,7 @@
},
{
"type": "PATTERN",
"value": "u{[0-9a-fA-F]+}"
"value": "u\\{[0-9a-fA-F]+\\}"
},
{
"type": "PATTERN",
Expand Down
Loading

0 comments on commit 584522f

Please sign in to comment.