Add more aliases, start on regional indicators

This commit is contained in:
BulbyVR 2022-04-22 21:42:29 -04:00
parent 22f90874cc
commit 209865e882
6 changed files with 37 additions and 7 deletions

View file

@ -2,6 +2,6 @@
ROOT=$(realpath "$PWD/$(dirname "$0")/..")
cd $ROOT
cat resources/provider-header.txt > src/emoji/Provider.cpp
# cat resources/extra_emoji.txt resources/emoji-test.txt > resources/complete-emoji.txt
scripts/emoji_codegen.py resources/emoji-test.txt resources/shortcodes.txt >> src/emoji/Provider.cpp
cd - > /dev/null

View file

@ -78,7 +78,7 @@ if __name__ == '__main__':
continue
char, name = re.match(r'^(\S+) E\d+\.\d+ (.*)$', charAndName).groups()
char, name = re.match(r'^(\S+) E\d+\.\d+ (.*)$', charAndName.strip()).groups()
shortname = name
#TODO: Handle skintone modifiers in a sane way