From: Jan Szejko Date: Tue, 27 Feb 2018 09:18:53 +0000 (+0100) Subject: remove more query chars X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/bda5443f87666bebd8594f6c2586677e218ae18b remove more query chars --- diff --git a/src/search/views.py b/src/search/views.py index 6cb6bc53e..9be6732bb 100644 --- a/src/search/views.py +++ b/src/search/views.py @@ -27,7 +27,7 @@ def match_word_re(word): return "[[:<:]]%s[[:>:]]" % word -query_syntax_chars = re.compile(r"[\\/*:(){}]") +query_syntax_chars = re.compile(r"[\\/*:(){}?.]") def remove_query_syntax_chars(query, replace=' '):