Commits

phmongeau committed eafdab4

expclude prefix from query term

Comments (0)

Files changed (1)

             term = match.group(2)
             for p in prefixes:
                 if term.startswith(p):
-                    return (key, term, p)
+                    return (key, term[len(p):], p)
             return (key, term, False)
 
     @classmethod