@ -1552,11 +1552,7 @@ module.exports = grammar({
choice(
seq(
"\\",
/[^xu]/,
/uu?[0-9a-fA-F]{4}/,
/x[0-9a-fA-F]{2}/,
),
choice(/[^xu]/, /uu?[0-9a-fA-F]{4}/, /x[0-9a-fA-F]{2}/),
/[^\\'\n]/,
@ -7000,11 +7000,7 @@
},
{
"type": "PATTERN",
"value": "u[0-9a-fA-F]{4}"
"value": "u{[0-9a-fA-F]+}"
"value": "uu?[0-9a-fA-F]{4}"