mathiasbynens / emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.
https://mths.be/emoji-regex
MIT License
1.74k stars 174 forks source link

Japanese emoji dont support in your version #114

Closed angushhz closed 1 week ago

angushhz commented 1 month ago

https://emojidb.org/cute-japanese-emojis I checked and found that your regex dont match above emoji Could it possible for you to help me explain ?

slevithan commented 1 month ago

There is a technical definition for Unicode emoji. See Wikipedia: Emoji for details.

The page you linked to mostly shows emoticons rather than emoji. Emoticons are arbitrary character sequences that, when taken together and seen visually with the right font, could be interpreted as an image or expressing an emotion. Check out the Wikipedia pages on emoticons, ASCII art, and Shift_JIS art to learn more. There is an infinite set of ways you could arrange arbitrary characters to create art or express feeling. The list of character sequences that would meet this definition is entirely subjective, but this page lists some common ones. Trying to list or identify them is not the job of a regex designed to match only/all emoji.

ryanlo713 commented 1 week ago

This should not be called emoji, but kaomoji

angushhz commented 1 week ago

Thank you for your replies