Skip to content

Regex "{}" triggers an error in highlighting #41425

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


The simple regex

private static readonly Regex Example = new Regex("{}");

Triggers an error because the highlight expects a digit. But actually this is a valid regex matching "{}" litteraly.


Original Comments

Visual Studio Feedback System on 1/28/2020, 03:18 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEBugDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.comNeed More InfoThe issue needs more information to proceed.Resolution-Not ReproducibleThe described behavior could not be reproduced by developers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions