You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function itself executes fine and works absolutely as expected and desired with the round bracket in place, so it's just the syntax highlighter getting confused about the round bracket inside the pattern string.
System Details
Operating system name and version: Windows 10 Pro 10.0.10586.0
VS Code version: 1.19.3
PowerShell extension version: 1.6.0
Output from $PSVersionTable:
Activity
TylerLeonhardt commentedon Apr 6, 2018
From Tony (@tonylea) on February 21, 2017 13:26
I've also noticed this issue.
Using:
Validate pattern am using:
[ValidatePattern("^([0-9a-fA-F]{2}[:-]{0,1}){5}[0-9a-fA-F]{2}$")]TylerLeonhardt commentedon Apr 6, 2018
From @cantrellj on February 22, 2018 17:56
Appears to happen in ValidateScript also
System Details
Operating system name and version: Windows 10 Pro 10.0.10586.0
VS Code version: 1.19.3
PowerShell extension version: 1.6.0
Output from
$PSVersionTable:TylerLeonhardt commentedon Apr 6, 2018
From Keith Hill (@rkeithhill) on February 23, 2018 3:34
Syntax highlighting is being managed out of the https://GitHub.com/powershell/editorsyntax project. @tylerl0706 Can you move this issue over to that repo?
TylerLeonhardt commentedon Apr 6, 2018
From Garry Hughes (@gazm81) on April 6, 2018 0:6
This is still an issue in VS code 1.21.1 with PowerShell plugin 1.60.
Doesn't appear on any other IDE we have tested.
omniomi commentedon May 3, 2018
This is the same as issue #75, I found a fix and will submit a PR after more testing.
jlucktay commentedon May 3, 2018
Nice one, thanks Nick James (@omniomi) !
TylerLeonhardt commentedon May 3, 2018
Nick James (@omniomi) is the man 🎉 💪
omniomi commentedon May 21, 2018
Fixed by #94