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

Update? #7

Closed milesj closed 7 years ago

milesj commented 7 years ago

This project seems to be out of date. Any plans to update it to the latest emoji standard? If not, know of an alternative library?

steventango commented 7 years ago

Hello, you can try this alternative library that I made. It is currently up to date, and should remain up to date regardless if the repository is updated or not as it pulls directly from the unicode file. However, it is created in pure Javascript, and is not a Node package. https://github.com/StevenTang166/EmojiRegex/

josephrocca commented 7 years ago

Hey @mathiasbynens, I noticed you made an update a couple of weeks ago. Was that update to support the newer emojis, or for something else? Thanks for your work on this lib!

mathiasbynens commented 7 years ago

@josephrocca See #8 for what changed. The regular expression was made more compact but no new emojis are being matched.

josephrocca commented 7 years ago

@mathiasbynens Gotcha. Up to which unicode version is currently supported? Is it difficult to add the new unicode ranges? Can I help?

mathiasbynens commented 7 years ago

The library has been updated now!

Up to which unicode version is currently supported?

Trick question! Emoji can be updated independently from the Unicode version — see http://unicode.org/reports/tr51/.