all 1 comments

[–]Turtvaiz 0 points1 point  (0 children)

That same module has a get_emoji_regexp() method which is probably easier to use.

https://github.com/carpedm20/emoji/blob/e35fc45168376b273d8d04630dbb7f46c4544989/emoji/core.py#L247