EditorSyntax
EditorSyntax copied to clipboard
operator NOT (!) duplicated in unary and logical operators scopes, unary takes precedence
Environment
- Editor and Version: VS Code: 1.26.1
- Your primary theme: Monokai Dimmed
Issue Description
The NOT logical operator ! is duplicated in the unary operator (-split/-join) and in the logical operator scope, and the unary operator scope seems to take precedence.
I think this is just an accident of a |! left at the end of the unary scope's regex.
Isn't unary operators those like ++ and --? Okay, I suppose ! and -NOT operators are consider unary, but that's not where PowerShell Docs classified them.