Added support for binary operators.
This commit is contained in:
parent
d9004dc8f5
commit
65afcb20a3
2 changed files with 11 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ var PowershellHighlightRules = function() {
|
|||
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
||||
}, {
|
||||
token : "keyword.operator",
|
||||
regex : "eq|ne|ge|gt|lt|le|like|notlike|match|notmatch|replace"
|
||||
regex : "\\-(?:" + "eq|ne|ge|gt|lt|le|like|notlike|match|notmatch|replace" + ")"
|
||||
}, {
|
||||
token : "lparen",
|
||||
regex : "[[({]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue