From b62fc1758f4ae8459e6d7e8386ca547274b4daa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 1 Sep 2017 18:53:23 +0200 Subject: New upstream version 6.6.1 --- src/make_unicode_fold_data.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/make_unicode_fold_data.py') 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 -- cgit v1.2.3