Commits

Thomas Waldmann  committed a744f57

advancedsearch: fix problem with non-ascii chars breaking up words for OR and NOT terms

  • Participants
  • Parent commits c4ff300

Comments (0)

Files changed (1)

File MoinMoin/action/fullsearch.py

         else:
             mtime_msg = None
 
-        word_re = re.compile(r'(\"[\w\s]+"|\w+)')
+        word_re = re.compile(r'(\"[\w\s]+"|\w+)', re.UNICODE)
         needle = ''
         if categories[0]:
             needle += 'category:%s ' % ','.join(categories)