Skip to content
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

Syntax coloring issue with regex #374

Closed
fromthewoods opened this issue Feb 19, 2017 · 3 comments
Closed

Syntax coloring issue with regex #374

fromthewoods opened this issue Feb 19, 2017 · 3 comments

Comments

@fromthewoods
Copy link

fromthewoods commented Feb 19, 2017

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.
image

PowerShell ISE handles the same pattern properly.
image

@fromthewoods
Copy link
Author

Did I put this in the wrong repo? Should this be in PowerShell / vscode-powershell or Microsoft / vscode ?

@rkeithhill
Copy link
Collaborator

It should go in https://github.com/powershell/editorsyntax.

@daviwil
Copy link
Contributor

daviwil commented Feb 28, 2017

This issue was moved to PowerShell/EditorSyntax#37

@daviwil daviwil closed this as completed Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants