PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Syntax coloring issue with regex

Open fromthewoods opened this issue 9 years ago • 3 comments

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 avatar Feb 19 '17 05:02 fromthewoods

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

fromthewoods avatar Feb 28 '17 22:02 fromthewoods

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

rkeithhill avatar Feb 28 '17 22:02 rkeithhill

This issue was moved to PowerShell/EditorSyntax#37

daviwil avatar Feb 28 '17 22:02 daviwil