diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 14:22:27 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-14 14:22:27 +0100 |
commit | fa131e9ad996d099bb48a3b1302e4a3b3c0f03bd (patch) | |
tree | 7b4963ddd27303d1a8e856acdd3a55ce9ed179f7 /src/make_unicode_fold_data.py | |
parent | a89a4ac904bc93b1d93b410394fa05c23260351b (diff) | |
parent | b7ad39361a923207113da1145f8655a1bc50c3aa (diff) |
Merge branch 'release/6.6.1-1'6.6.1-1
Diffstat (limited to 'src/make_unicode_fold_data.py')
-rwxr-xr-x | src/make_unicode_fold_data.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/make_unicode_fold_data.py b/src/make_unicode_fold_data.py index 3f7d416..f4ad321 100755 --- a/src/make_unicode_fold_data.py +++ b/src/make_unicode_fold_data.py @@ -1,5 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- +# make_unicode_fold_data.py +# Copyright (c) 2016-2017 K.Kosako import sys import re @@ -15,7 +17,7 @@ DataName = 'OnigUnicodeFolds' ENCODING = 'utf-8' LINE_REG = re.compile("([0-9A-F]{1,6}); (.); ([0-9A-F]{1,6})(?: ([0-9A-F]{1,6}))?(?: ([0-9A-F]{1,6}))?;(?:\s*#\s*)(.*)") -VERSION_REG = re.compile("#.*-(\d\.\d\.\d)\.txt") +VERSION_REG = re.compile("#.*-(\d+\.\d+\.\d+)\.txt") VERSION_INFO = None |