From 318d9bd122d24b7c95d7d031fdfe0e4d186a5863 Mon Sep 17 00:00:00 2001 From: Kai Date: Fri, 9 Apr 2021 08:07:27 +0200 Subject: [PATCH] fix #7 --- tsvtools/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsvtools/cli.py b/tsvtools/cli.py index 3593e77..a63d163 100644 --- a/tsvtools/cli.py +++ b/tsvtools/cli.py @@ -271,7 +271,7 @@ def make_page2tsv_commands(xls_file, directory, purpose): elif directory is not None: for file in glob.glob('{}/**/*.xml'.format(directory), recursive=True): - ma = re.match('(.*/(PPN[0-9]+)/.*?([0-9]+).*?).xml', file) + ma = re.match('(.*/(PPN[0-9X]+)/.*?([0-9]+).*?).xml', file) if ma: print('page2tsv {} {}.tsv '