Closed GavanWilhite closed 1 year ago
This use case is a bit too specific for the emoji-regex project, which aims to match all emoji.
Luckily, it's possible to do what you want with the new RegExp v
flag in JavaScript. See the example here: https://v8.dev/features/regexp-v-flag#union:~:text=Another%20example%20is%20matching%20all%20commonly%2Dused%20flag%20emoji Babel supports transpiling it.
Ok, thanks!
On Wed, Mar 15, 2023 at 2:31 PM Mathias Bynens @.***> wrote:
This use case is a bit too specific for the emoji-regex project, which aims to match all emoji.
Luckily, it's possible to do what you want with the new RegExp v flag in JavaScript. See the example here: https://v8.dev/features/regexp-v-flag#union:~:text=Another%20example%20is%20matching%20all%20commonly%2Dused%20flag%20emoji Babel supports transpiling it.
— Reply to this email directly, view it on GitHub https://github.com/mathiasbynens/emoji-regex/issues/106#issuecomment-1470872434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP5B76UDD3RUMALGIRKRZLW4IYKHANCNFSM6AAAAAAV4MQZ5U . You are receiving this because you authored the thread.Message ID: @.***>
So unfortunately fluent emojis don't include country flags for "Microsoft reasons".
It would be amazing to be able to detect "country flag" emojis specifically. Any hope of being able to do this with emoji-regex?