-
Notifications
You must be signed in to change notification settings - Fork 50
Syntax coloring issue with regex #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From @fromthewoods on February 28, 2017 22:25 Did I put this in the wrong repo? Should this be in PowerShell / vscode-powershell or Microsoft / vscode ? |
From @rkeithhill on February 28, 2017 22:26 It should go in https://github.com/powershell/editorsyntax. |
Thanks @daviwil and @rkeithhill. |
Windows 7 |
I'm having the same problem. Patterns in question are:
|
Fixed by #94 |
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
The text was updated successfully, but these errors were encountered: