Open cometkim opened 2 days ago
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicodeSets https://www.unicode.org/reports/tr51/#Emoji_Sets
Technically this isn't part of the Unicode Segmentation, but examining the sequence of a specific emoji segment is one of the essential combinations.
for example to resolve https://github.com/matrix-org/matrix-react-sdk/pull/12582
New matcher APIs to unicode-segmenter/emoji
unicode-segmenter/emoji
isBasicEmoji
\p{Basic_Emoji}
isRGIEmoji
\p{RGI_Emoji}
It will do #40 first as this needs to script change.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicodeSets https://www.unicode.org/reports/tr51/#Emoji_Sets
Technically this isn't part of the Unicode Segmentation, but examining the sequence of a specific emoji segment is one of the essential combinations.
for example to resolve https://github.com/matrix-org/matrix-react-sdk/pull/12582