pomsky icon indicating copy to clipboard operation
pomsky copied to clipboard

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

Open Aloso opened this issue 2 years ago • 0 comments

  • 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

Aloso avatar Mar 28 '23 13:03 Aloso