Joel Bennett on Nostr: Furthermore, System.Net.Regex matches [char] (not code points), can't handle Unicode ...
Furthermore, System.Net.Regex matches [char] (not code points), can't handle Unicode code points above the BMP, like \u{1F469} and hasn't been updated with any of the classes that have been added (for instance) to Javascript, like \p{Emoji} etc.
Matching anything specific outside of the BMP is ridiculous (e.g. compare https://github.com/Felk/UnicodeEmojiRegex to https://github.com/slevithan/emoji-regex-xs or even https://github.com/mathiasbynens/emoji-regex)
E.g. matching flags in .NET:
"\uD83C[\uDDE6-\uDDFF]\uD83C[\uDDE6-\uDDFF]"
Matching anything specific outside of the BMP is ridiculous (e.g. compare https://github.com/Felk/UnicodeEmojiRegex to https://github.com/slevithan/emoji-regex-xs or even https://github.com/mathiasbynens/emoji-regex)
E.g. matching flags in .NET:
"\uD83C[\uDDE6-\uDDFF]\uD83C[\uDDE6-\uDDFF]"