fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix in librarian
[wolnelektury.git]
/
src
/
catalogue
/
views.py
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
09f48c7
..
50dde9f
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-321,7
+321,7
@@
def _no_diacritics_regexp(query):
def repl(m):
l = m.group()
def repl(m):
l = m.group()
- return u"(%s)" % '|'.join(names[l])
+ return u"(
?:
%s)" % '|'.join(names[l])
return re.sub(u'[%s]' % (u''.join(names.keys())), repl, query)
return re.sub(u'[%s]' % (u''.join(names.keys())), repl, query)