### Description I have the following line of code in my script: ```powershell [ValidatePattern('(?=^.{1,254}$)(^(?:(?!\d+\.)[a-zA-Z0-9_\-]{1,63}\.?)+(?:[a-zA-Z]{2,})$)')] ``` Here is how it looks in VSCode:  ### Environment ```powershell PS C:\> code -v 1.22.1 950b8b0d37a9b7061b6f0d291837ccc4015f5ecdx64 PS C:\> $pseditor.EditorServicesVersion Major Minor Build Revision ----- ----- ----- -------- 1 6 0 0 PS C:\> code --list-extensions --show-versions [...] ms-vscode.PowerShell@1.6.0 [...] PS C:\> $PSVersionTable Name Value ---- ----- PSVersion 6.0.1 PSEdition Core GitCommitId v6.0.1 OS Microsoft Windows 10.0.14393 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 ```
Activity
omniomi commentedon May 3, 2018
I managed to find the issue. Need to do some more testing to make sure the fix doesn't introduce new problems and then I will submit the PR.
TylerLeonhardt commentedon May 3, 2018
Niceee 👍
omniomi commentedon May 21, 2018
Fixed by #94