Exclude from emoji pattern symbols of length = 1

This commit is contained in:
Paul Nameless 2020-06-20 15:51:14 +08:00
parent d6e2bb858a
commit 2d66eeeef6

View file

@ -25,7 +25,7 @@ emoji_pattern = re.compile(
"\U0001F680-\U0001F6FF" # transport & map symbols
"\U0001F1E0-\U0001F1FF" # flags (iOS)
"\U00002702-\U000027B0"
"\U000024C2-\U0001F251"
# "\U000024C2-\U0001F251"
"]+",
flags=re.UNICODE,
)