Skip to content

Commit fcc6e12

Browse files
authored
Add -any/-all operator syntax
To reflect changes to binary comparison operators in PowerShell/PowerShell#11068
1 parent d10ae29 commit fcc6e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PowerShellSyntax.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
</dict>
329329
<dict>
330330
<key>match</key>
331-
<string>(?&lt;!\w)-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains|in)|replace))(?!\p{L})</string>
331+
<string>(?&lt;!\w)-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains|in)|replace|any|all))(?!\p{L})</string>
332332
<key>name</key>
333333
<string>keyword.operator.comparison.powershell</string>
334334
</dict>

0 commit comments

Comments
 (0)