From bda5443f87666bebd8594f6c2586677e218ae18b Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 27 Feb 2018 10:18:53 +0100 Subject: [PATCH 1/1] remove more query chars --- src/search/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=' '): -- 2.20.1