fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove even more query chars
[wolnelektury.git]
/
src
/
search
/
views.py
diff --git
a/src/search/views.py
b/src/search/views.py
index
6cb6bc5
..
e6efc21
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=' '):