Skip to content

Commit

Permalink
Remove (\u2013) and ? from regular expression
Browse files Browse the repository at this point in the history
They are not longer used in any emoji translations
  • Loading branch information
cvzi committed Aug 4, 2023
1 parent 6eb9f0d commit 69717c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emoji/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
]

_DEFAULT_DELIMITER = ':'
_EMOJI_NAME_PATTERN = '\\w\\-&.’”“()!#*+?–,/«»\u0300\u0301\u0302\u0303\u0308\u030a\u0327\u064b\u064e\u064f\u0650\u0653\u0654\u3099\u30fb\u309a'
_EMOJI_NAME_PATTERN = '\\w\\-&.’”“()!#*+,/«»\u0300\u0301\u0302\u0303\u0308\u030a\u0327\u064b\u064e\u064f\u0650\u0653\u0654\u3099\u30fb\u309a'


class config():
Expand Down

0 comments on commit 69717c9

Please sign in to comment.