fix digit escapes in java & php highlights (#846)

This commit is contained in:
Michael Davis 2021-10-16 04:02:06 -05:00 committed by GitHub
parent e069fb9dea
commit be428a295a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@
; Variables
((identifier) @constant
(#match? @constant "^_*[A-Z][A-Z\d_]+"))
(#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
(identifier) @variable

View file

@ -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]"))