Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 882f6c0

Browse files
committed
Use case-insensitive regex instead
1 parent be86fff commit 882f6c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grammars/php.cson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,11 +728,11 @@
728728
'name': 'keyword.operator.bitwise.php'
729729
}
730730
{
731-
'begin': '(?i)\\b(instanceof)\\s+(?=[\\\\$a-zA-Z_])'
731+
'begin': '(?i)\\b(instanceof)\\s+(?=[\\\\$a-z_])'
732732
'beginCaptures':
733733
'1':
734734
'name': 'keyword.operator.type.php'
735-
'end': '(?=[^\\\\$a-zA-Z0-9_\\x{7f}-\\x{7fffffff}])'
735+
'end': '(?i)(?=[^\\\\$a-z0-9_\\x{7f}-\\x{7fffffff}])'
736736
'patterns': [
737737
{
738738
'include': '#class-name'

0 commit comments

Comments
 (0)