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.73k stars 174 forks source link

add a regexp to just match emojis, complete emojis #58

Closed titoBouzout closed 5 years ago

titoBouzout commented 5 years ago

@mathiasbynens could be possible please to have a regexp to just match emojis? for example 0 is not 0️⃣ πŸ±β€πŸ‘€ is πŸ±β€πŸ‘€ πŸ±β€πŸ‘€ is not 🐱+πŸ‘€ Thanks!

mathiasbynens commented 5 years ago

Sure β€” just don’t use the text version. See the README.

titoBouzout commented 5 years ago

It does not work mathias, it does return true, Im confused https://i.imgur.com/2Tud73Z.png

titoBouzout commented 5 years ago

I finally understand now why the ninjacat does not work https://blog.emojipedia.org/ninja-cat-the-windows-only-emoji/