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
tonylea commentedon Feb 21, 2017
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}$")]jcantrell-HCA commentedon Feb 22, 2018
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:rkeithhill commentedon Feb 23, 2018
Syntax highlighting is being managed out of the https://GitHub.com/powershell/editorsyntax project. @tylerl0706 Can you move this issue over to that repo?
gazm81 commentedon Apr 6, 2018
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.
TylerLeonhardt commentedon Apr 6, 2018
This issue was moved to PowerShell/EditorSyntax#74