Skip to content

Commit a28e9e7

Browse files
committed
Fixes escape issue in expressions
1 parent bc8e9ac commit a28e9e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/syntaxes/vba.tmLanguage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,14 +612,14 @@ repository:
612612
match: (?i)^\s*End\s+(Sub|Function|Property)
613613

614614
expression:
615-
# (?:[*&/\+-]|\bMod\b)|
615+
# (?:[*&\/\+-]|\bMod\b)|
616616
# (?:[<>=]|\b(is|like)\b)|
617617
# (?:[&+])|
618618
# (?:\b(and|eqv|imp|not|or|xor)\b)|
619619
# (?:\b(addressof|typeof)\b)
620620

621621
# This match just made up of the operators matchs. Don't look at it too hard.
622-
match: (?i)(.*?)\s+((?:[*&/\+-]|\bMod\b)|(?:[<>=]|\b(is|like)\b)|(?:[&+])|(?:\b(and|eqv|imp|not|or|xor)\b)|(?:\b(addressof|typeof)\b))\s+(.*)
622+
match: (?i)(.*?)\s+((?:[*&\/\+-]|\bMod\b)|(?:[<>=]|\b(is|like)\b)|(?:[&+])|(?:\b(and|eqv|imp|not|or|xor)\b)|(?:\b(addressof|typeof)\b))\s+(.*)
623623
captures:
624624
1: # Left sided of expression
625625
patterns:

0 commit comments

Comments
 (0)