Closed dotps1 closed 6 years ago
It looks where-object still is not fixed
find
<string>(?<!\w)(?i:foreach-object)(?!\w)</string>
to replace
<string>(?<!\w)(?i:foreach-object|where-object)(?!\w)</string>
find
|var|where(?!=-object)|while)
to replace
|var|where(?!-object)|while)
Then where-object works fine.
Using the following code the 'Where-Object' does not hightlight properly.
The 'Where' is identified but the '-Object' is not.
(Snippit from VSCode)
Thanks.