Skip to content

Syntax coloring issue with regex #374

Closed

Description

@fromthewoods

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

Activity

  1. fromthewoods commented on Feb 28, 2017

    @fromthewoods
    Author

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

  2. daviwil commented on Feb 28, 2017

    @daviwil
    Contributor

    This issue was moved to PowerShell/EditorSyntax#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions