Skip to content

Commit

Permalink
fix(grammar): adapt to upstream regex change (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
clason authored May 3, 2024
1 parent c55f8b4 commit 3914005
Show file tree
Hide file tree
Showing 6 changed files with 1,645 additions and 11,761 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,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]+\}/
)
))
}
Expand Down
3 changes: 1 addition & 2 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,7 @@
},
{
"type": "PATTERN",
"value": "u{[0-9a-fA-F]+}"
"value": "u\\{[0-9a-fA-F]+\\}"
}
]
}
Expand Down Expand Up @@ -2313,4 +2313,3 @@
"inline": [],
"supertypes": []
}

Loading

0 comments on commit 3914005

Please sign in to comment.