N-Shar-ma/unicode-emoji-toolkit

Use emoji-regex for a better compatibility?

SaekiRaku opened this issue · 0 comments

\p{Emoji} is not compatible with Chrome 52 as I tested.

const emojiRegex = /((\p{Emoji})|(\p{Emoji_Presentation})|(\p{Emoji_Modifier})|(\p{Emoji_Modifier_Base})|(\p{Emoji_Component})|(\p{Extended_Pictographic}))*/gu

Maybe use emoji-regex is better?