File fix-regex.patch of Package tree-sitter-thrift
diff -rub tree-sitter-thrift-0.5.0/grammar.js tree-sitter-thrift-0.5.0-patched/grammar.js
--- tree-sitter-thrift-0.5.0/grammar.js 2023-03-12 10:58:35.000000000 +0100
+++ tree-sitter-thrift-0.5.0-patched/grammar.js 2024-12-05 05:40:38.326047985 +0100
@@ -660,7 +660,7 @@
/[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}/,
))),