diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-04-29 15:21:04 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-04-29 15:21:04 +0200 |
commit | db6f38bc1b73930f1da954525464cf1986f43a28 (patch) | |
tree | a7f25f79866ee08431779445dc925373eafda070 /src/make_unicode_property_data.py | |
parent | 98f7065a3f7b386564840bb5b24b94f9335b2e97 (diff) |
New upstream version 6.9.8upstream/6.9.8
Diffstat (limited to 'src/make_unicode_property_data.py')
-rwxr-xr-x | src/make_unicode_property_data.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/make_unicode_property_data.py b/src/make_unicode_property_data.py index d1b3377..78ccb29 100755 --- a/src/make_unicode_property_data.py +++ b/src/make_unicode_property_data.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # make_unicode_property_data.py -# Copyright (c) 2016-2020 K.Kosako +# Copyright (c) 2016-2021 K.Kosako import sys import re @@ -23,7 +23,7 @@ PA_LINE_REG = re.compile("(\w+)\s*;\s*(\w+)") PVA_LINE_REG = re.compile("(sc|gc)\s*;\s*(\w+)\s*;\s*(\w+)(?:\s*;\s*(\w+))?") BL_LINE_REG = re.compile("([0-9A-Fa-f]+)\.\.([0-9A-Fa-f]+)\s*;\s*(.*)") UNICODE_VERSION_REG = re.compile("#\s*.*-(\d+)\.(\d+)\.(\d+)\.txt") -EMOJI_VERSION_REG = re.compile("(?i)#\s*Version:\s*(\d+)\.(\d+)") +EMOJI_VERSION_REG = re.compile("(?i)#.+Version\s+(\d+)\.(\d+)") VERSION_INFO = [-1, -1, -1] EMOJI_VERSION_INFO = [-1, -1] @@ -425,7 +425,7 @@ argc = len(argv) COPYRIGHT = ''' /*- - * Copyright (c) 2016-2020 K.Kosako + * Copyright (c) 2016-2021 K.Kosako * All rights reserved. * * Redistribution and use in source and binary forms, with or without |