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 238238 </dict >
239239 <dict >
240240 <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 >
242242 <key >name </key >
243243 <string >keyword.control.powershell </string >
244244 </dict >
250250 </dict >
251251 <dict >
252252 <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 >
254254 <key >name </key >
255255 <string >keyword.operator.comparison.powershell </string >
256256 </dict >
268268 </dict >
269269 <dict >
270270 <key >match </key >
271- <string >-(?i:band|bor|bnot|bxor)\b </string >
271+ <string >-(?i:band|bor|bnot|bxor)(?!\p{L}) </string >
272272 <key >name </key >
273273 <string >keyword.operator.bitwise.powershell </string >
274274 </dict >
275275 <dict >
276276 <key >match </key >
277- <string >-f\b </string >
277+ <string >-(?i:f)(?!\p{L}) </string >
278278 <key >name </key >
279279 <string >keyword.operator.string-format.powershell </string >
280280 </dict >
You can’t perform that action at this time.
0 commit comments