File fix-regex.patch of Package tree-sitter-capnp

diff -rub tree-sitter-capnp-1.5.0/grammar.js tree-sitter-capnp-1.5.0-patched/grammar.js
--- tree-sitter-capnp-1.5.0/grammar.js	2023-07-15 07:46:37.000000000 +0200
+++ tree-sitter-capnp-1.5.0-patched/grammar.js	2024-12-05 05:30:30.470156310 +0100
@@ -594,7 +594,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]+\}/,
       ),
     )),
 
openSUSE Build Service is sponsored by