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

Optimize output for multi-code-point emoji #1

Closed mathiasbynens closed 9 years ago

mathiasbynens commented 9 years ago

I have a patch ready for this, that I’ll commit once @alexeld bumps the regex-trie version number.

With this change, the index.js file size goes from 7079 bytes down to 2867 bytes! :+1: