changeset 3398:f212fe993c14

fix category highlight re
author Johannes Berg <johannes AT sipsolutions DOT net>
date Fri, 21 Mar 2008 22:05:38 +0100
parents 2377e18e4a10
children b6d727809985
files MoinMoin/search/queryparser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/queryparser.py	Fri Mar 21 20:20:14 2008 +0100
+++ b/MoinMoin/search/queryparser.py	Fri Mar 21 22:05:38 2008 +0100
@@ -744,7 +744,7 @@
         return u'%s!"%s"' % (neg, unicode(self._pattern))
 
     def highlight_re(self):
-        return u'(\b%s\b)' % self._pattern
+        return u'(\\b%s\\b)' % self._pattern
 
     def xapian_wanted(self):
         return True # only easy regexps possible