From be428a295a0884ed0523a8a995e913ee1c863b60 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Sat, 16 Oct 2021 04:02:06 -0500 Subject: fix digit escapes in java & php highlights (#846) --- runtime/queries/java/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/queries/java/highlights.scm') diff --git a/runtime/queries/java/highlights.scm b/runtime/queries/java/highlights.scm index 3f8ae0d5..e7d793df 100644 --- a/runtime/queries/java/highlights.scm +++ b/runtime/queries/java/highlights.scm @@ -47,7 +47,7 @@ ; Variables ((identifier) @constant - (#match? @constant "^_*[A-Z][A-Z\d_]+")) + (#match? @constant "^_*[A-Z][A-Z\\d_]+$")) (identifier) @variable -- cgit v1.2.3-70-g09d2