Skip to content

Commit

Permalink
Merge pull request #227 from AliNajafi1998/farsi-support
Browse files Browse the repository at this point in the history
Farsi support
  • Loading branch information
TahirJalilov committed Sep 17, 2022
2 parents c398e0c + c778f55 commit 4096998
Show file tree
Hide file tree
Showing 3 changed files with 3,505 additions and 1,751 deletions.
2 changes: 1 addition & 1 deletion emoji/core.py
Expand Up @@ -78,7 +78,7 @@ def emojize(
else:
language_pack = unicode_codes.get_emoji_unicode_dict(language)

pattern = re.compile(u'(%s[\\w\\-&.’”“()!#*+?–,/]+%s)' %
pattern = re.compile(u'(%s[\\w\\-&.’”“()!#*+?–,/ًٌٍَُِّْؤئيإأآةك‌ٔء«»]+%s)' %
(re.escape(delimiters[0]), re.escape(delimiters[1])), flags=re.UNICODE)

def replace(match):
Expand Down

0 comments on commit 4096998

Please sign in to comment.