What is Nostr?
Joel Bennett /
npub18dq…9qnp
2024-10-21 15:57:15
in reply to nevent1q…j6wz

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]"
Author Public Key
npub18dqdtq38873745nxtqa2z54d6pfagzhespenkvqcwqsmyrlyp9rsqy9qnp