From 6fadd175ae1d1f33383079b536ffbeec3dd97331 Mon Sep 17 00:00:00 2001 From: Jan Broer Date: Mon, 12 Oct 2015 00:34:27 +0200 Subject: [PATCH] Add regex patterns for english sort articles --- cps/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/config.py b/cps/config.py index 4836e22f..bd20b55a 100755 --- a/cps/config.py +++ b/cps/config.py @@ -53,7 +53,7 @@ RANDOM_BOOKS = check_setting_int(CFG, 'General', 'RANDOM_BOOKS', 4) ALL_BOOKS = check_setting_str(CFG, 'General', 'ALL_BOOKS', 100) CheckSection('Advanced') -TITLE_REGEX = check_setting_str(CFG, 'Advanced', 'TITLE_REGEX', '^(Der|Die|Das|Ein|Eine)\s+') +TITLE_REGEX = check_setting_str(CFG, 'Advanced', 'TITLE_REGEX', '^(A|The|An|Der|Die|Das|Den|Ein|Eine|Einen|Dem|Des|Einem|Eines)\s+') DEVELOPMENT = bool(check_setting_int(CFG, 'Advanced', 'DEVELOPMENT', 1)) SYS_ENCODING="UTF-8"