Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regexp is slow -- could use codepoint ranges for consecutive emojis #30

Open
mjwillson opened this issue Nov 9, 2015 · 1 comment
Open

Comments

@mjwillson
Copy link

Currently the regexp is quite slow, likely due to it containing a separate union term for each emoji. A lot of the emojis are consecutive codepoints, and some like the national flag emojis could be specified concisely as [\U0001F1E6-\U0001F1FF]{2}

@hugovk
Copy link
Contributor

hugovk commented Aug 30, 2022

Should this be closed now get_emoji_regexp has been removed in version 2.0?

https://carpedm20.github.io/emoji/docs/#regular-expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants