Closed jhuckaby closed 7 years ago
Here's the link to the official list of all the new Emoji added to Unicode 9.0, from the unicode.org website:
http://www.unicode.org/emoji/charts/emoji-versions.html#v9.0_2016
π€£ π€€ π€ π€‘ π€₯ π€’ π€§ π€Ά π€΄ π€΅ π€° π€¦ π€¦ββοΈ π€¦ββοΈ π€· π€·ββοΈ π€·ββοΈ πΊ π€Ί π€Έ π€ΈββοΈ π€ΈββοΈ π€Ό π€ΌββοΈ π€ΌββοΈ π€½ π€½ββοΈ π€½ββοΈ π€Ύ π€ΎββοΈ π€ΎββοΈ π€Ή π€ΉββοΈ π€ΉββοΈ π€³ π€ π€ π€ π€ π€ π€ π€ π¦ π¦ π¦ π¦ π¦ π¦ π¦ π¦ π¦ π¦ π¦ π¦ π¦ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π΄ π΅ π πΆ π₯ π₯ π₯ π₯ π₯ π₯ π₯ π
I believe these are the exact items missing from the regex.
β¦and also βοΈ
πβ€οΈ
Missing these. Is there somewhere full list of emojis so I can update regex?
I suspect the problem really lies with the babel-plugin-transform-unicode-property-regex project, which is the Babel plugin that translates the Unicode property escapes in the regex to the actual code points of the emoji.
I took a look, but I don't really understand enough about how that works to incorporate the new emoji.
The regex is genearted from the unicode escapes, via babel-plugin-transform-unicode-property-regex, which is powered by regexpu-core, which gets it's info from regenerate-unicode-properties. The various emoji files need to be updated to include the updates ranges for unicode 9 emoji
PRed the upstream data, if and when that merges, just need to run the build script here.
Amazing, can't wait! Thanks @patrickkettner π
@mathiasbynens I assume that src/index.js needs to be updated since the change in Unicode-tr51 created the new Emoji_Component file, but I am not sure where in that I would inject the values. Happy to create a PR if you could enlighten
@khalifenizar yeah, #12 for a fix. you can require('emoji-regex/dist')
in the mean time
Amazing work, thanks so much for the quick update!
This otherwise wonderful and highly useful regular expression seems to be missing a number of modern / new Emoji included in Unicode 9 / Emoji 3.0. The missing emojis include the popular Rolling on the floor laughing (:rofl:) and Nauseated Face (:nauseated_face:), as well as others.
Any chance we can get these new ones added to the regex?
Thanks for an awesome library!
- Joe