Skip to content

Feature Request: Annotate regex "expression" parameter with [StringSyntax(StringSyntaxAttribute.Regex)] #1957

@JohnyL

Description

@JohnyL

Is your feature request related to a problem? Please describe.

In .NET 7 you can annotate regular expression pattern parameter with [StringSyntax(StringSyntaxAttribute.Regex)] so that this pattern will be colorized and validated in Visual Studio (also IntelliSense will work). Could you add this attribute to expression parameter in RegularExpressionValidator?

Describe the solution you'd like

Colorization, validation and IntelliSense for regular expression pattern string.

Describe alternatives you've considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions