File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 238
238
</dict >
239
239
<dict >
240
240
<key >match </key >
241
- <string >\b (?< !\.)( ?i:begin|break|catch|class|continue|data|define|do|dynamicparam|else|elseif|end|exit|filter|finally|for|foreach(?!=-object)|from|if|in|inlinescript|parallel|param|process|return|switch|throw|trap|try|until|using|var|while|workflow)\b </string >
241
+ <string >(?< !\w)(( ?i:begin|break|catch|class|continue|data|define|do|dynamicparam|else|elseif|end|exit|filter|finally|for|foreach(?!=-object)|from|if|in|inlinescript|parallel|param|process|return|switch|throw|trap|try|until|using|var|where| while|workflow)|%|\?)(?!\w) </string >
242
242
<key >name </key >
243
243
<string >keyword.control.powershell </string >
244
244
</dict >
250
250
</dict >
251
251
<dict >
252
252
<key >match </key >
253
- <string >-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains)|replace))\b </string >
253
+ <string >-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains)|replace))(?!\p{L}) </string >
254
254
<key >name </key >
255
255
<string >keyword.operator.comparison.powershell </string >
256
256
</dict >
268
268
</dict >
269
269
<dict >
270
270
<key >match </key >
271
- <string >-(?i:band|bor|bnot|bxor)\b </string >
271
+ <string >-(?i:band|bor|bnot|bxor)(?!\p{L}) </string >
272
272
<key >name </key >
273
273
<string >keyword.operator.bitwise.powershell </string >
274
274
</dict >
275
275
<dict >
276
276
<key >match </key >
277
- <string >-f\b </string >
277
+ <string >-(?i:f)(?!\p{L}) </string >
278
278
<key >name </key >
279
279
<string >keyword.operator.string-format.powershell </string >
280
280
</dict >
You can’t perform that action at this time.
0 commit comments