This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Regular expressions for matching emoji sequences. | |
For parsing single emoji, use either | |
re.match(EMOJI_SEQUENCE, string) | |
# or | |
EMOJI_REGEXP.match(string) | |
To match multiple emojis or custom patterns, insert `EMOJI_SEQUENCE` into pattern: |