Skip to content

[API Proposal]: add regex for pattern matching #8455

@balakhaniyan

Description

@balakhaniyan

Background and motivation

Hello
Can dotnet team add a feature to pattern matching to use RegEx? (with is keyword)

API Proposal

I think there is no need to submit an API proposal

API Usage

if (data is @"\s+") {

}

Alternative Designs

No response

Risks

No response

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