@@ -268,6 +268,7 @@ def _augment_highlighting(query_s, records):
def _highlight(pattern, string):
+ pattern = re.escape(pattern)
return re.sub('(%s)' % pattern, '<em>\\1</em>', string, count=1)
@@ -79,3 +79,5 @@ class TestNavigatorclient:
# type:table tax
# owner:romain ca
+
+ # *