From 29fef4a314f7d54f767a47f3b9d442e1adf41ad6 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 20 Dec 2022 23:14:41 +0100 Subject: [PATCH] Add French articles to the title regex --- cps/config_sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/config_sql.py b/cps/config_sql.py index bba3d650..fed7dfe3 100644 --- a/cps/config_sql.py +++ b/cps/config_sql.py @@ -74,7 +74,7 @@ class _Settings(_Base): config_random_books = Column(Integer, default=4) config_authors_max = Column(Integer, default=0) config_read_column = Column(Integer, default=0) - config_title_regex = Column(String, default=r'^(A|The|An|Der|Die|Das|Den|Ein|Eine|Einen|Dem|Des|Einem|Eines)\s+') + config_title_regex = Column(String, default=r'^(A|The|An|Der|Die|Das|Den|Ein|Eine|Einen|Dem|Des|Einem|Eines|Le|La|Les|L\'|Un|Une)\s+') # config_mature_content_tags = Column(String, default='') config_theme = Column(Integer, default=0)