changeset 1495:f3df2ca6658f

highlight bug fixed.. once and for all ;)
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Fri, 25 Aug 2006 14:44:03 +0200
parents cdcdab722a96
children 70e94a679c47
files MoinMoin/search/queryparser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/queryparser.py	Fri Aug 25 14:40:12 2006 +0200
+++ b/MoinMoin/search/queryparser.py	Fri Aug 25 14:44:03 2006 +0200
@@ -903,7 +903,7 @@
                  r'(?P<OPS>\(|\)|(or\b(?!$)))|' +  # or, (, )
                  r'(?P<MOD>(\w+:)*)' +
                  r'(?P<TERM>("[^"]+")|' +
-                 r"('[^']+')|(\S+)))")             # search word itself
+                 r"('[^']+')|([^\s\)]+)))")             # search word itself
         self._query = self._query.strip()
         match = re.match(regex, self._query, re.U)
         if not match: