summaryrefslogtreecommitdiff
path: root/runtime/queries/php
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/php')
-rw-r--r--runtime/queries/php/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/php/highlights.scm b/runtime/queries/php/highlights.scm
index 83850403..02904555 100644
--- a/runtime/queries/php/highlights.scm
+++ b/runtime/queries/php/highlights.scm
@@ -42,7 +42,7 @@
(relative_scope) @variable.builtin
((name) @constant
- (#match? @constant "^_?[A-Z][A-Z\d_]+$"))
+ (#match? @constant "^_?[A-Z][A-Z\\d_]+$"))
((name) @constructor
(#match? @constructor "^[A-Z]"))