Skip to content

Commit

Permalink
Adding Arabic Language Support
Browse files Browse the repository at this point in the history
  • Loading branch information
fqa-cyber committed Jan 5, 2024
1 parent daf8c13 commit f14ece8
Show file tree
Hide file tree
Showing 3 changed files with 9,491 additions and 4,735 deletions.
3 changes: 2 additions & 1 deletion emoji/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
]

_DEFAULT_DELIMITER = ':'
_EMOJI_NAME_PATTERN = '\\w\\-&.’”“()!#*+,/«»\u0300\u0301\u0302\u0303\u0306\u0308\u030a\u0327\u064b\u064e\u064f\u0650\u0653\u0654\u3099\u30fb\u309a'
# In Arabic language, the unicode character "\u0655" should be kept so we add it to the pattern below
_EMOJI_NAME_PATTERN = '\\w\\-&.’”“()!#*+,/«»\u0300\u0301\u0302\u0303\u0306\u0308\u030a\u0327\u064b\u064e\u064f\u0650\u0653\u0654\u3099\u30fb\u309a\u0655'


class config():
Expand Down
Loading

0 comments on commit f14ece8

Please sign in to comment.