Skip to content

Javascript RegEx could not be used in C# cause of not supported "--" in  #79982

Open
@jogibear9988

Description

@jogibear9988

Browsers now support "--" in Regex, see: https://v8.dev/features/regexp-v-flag#difference

so for example this works:

  ^[_--[0-9]]+$

but this would not work in C#, cause "--" is not supported.
Would it be possible to add this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions