Skip to content

.NET doesn't support arbitrary code points (. or C) outside the BMP #89

Open
@Aloso

Description

@Aloso
  • C could be polyfilled as (?:\P{Cs}|\p{IsLowSurrogates}\p{IsHighSurrogates})
  • . could be polyfilled as (?:[^\n\p{Cs}]|\p{IsLowSurrogates}\p{IsHighSurrogates})

Polyfilling is only needed when it isn't repeated, or the repetition has a lower bound > 1 or an upper bound

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatCompatibility between regex flavorsbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions