fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
03d4bd4
)
remove more query chars
author
Jan Szejko
<janek37@gmail.com>
Tue, 27 Feb 2018 09:18:53 +0000
(10:18 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Tue, 27 Feb 2018 09:18:53 +0000
(10:18 +0100)
src/search/views.py
patch
|
blob
|
history
diff --git
a/src/search/views.py
b/src/search/views.py
index
6cb6bc5
..
9be6732
100644
(file)
--- 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=' '):