From @fromthewoods on February 19, 2017 5:18
I searched around and couldn't find any existing issues that address what I'm seeing, so apologies if this is already known.
I have a simple regex pattern [ValidateScript({$_ -match '^([\d\w]+\.){2,3}[\d\w]+$'})]
that vscode seems to not be able to handle and I assume it's an issue with PSEditorServices.

PowerShell ISE handles the same pattern properly.

Copied from original issue: PowerShell/PowerShellEditorServices#374
From @fromthewoods on February 19, 2017 5:18
I searched around and couldn't find any existing issues that address what I'm seeing, so apologies if this is already known.
I have a simple regex pattern

[ValidateScript({$_ -match '^([\d\w]+\.){2,3}[\d\w]+$'})]that vscode seems to not be able to handle and I assume it's an issue with PSEditorServices.
PowerShell ISE handles the same pattern properly.

Copied from original issue: PowerShell/PowerShellEditorServices#374