Commit 5a3918c5 authored by Raz0r's avatar Raz0r

fix substring typo

parent ee4f4594
......@@ -6,7 +6,7 @@ def parse_like_term(term):
Search term
"""
if term.startswith('^'):
return '^%s' % term[1]
return '^%s' % term[1:]
elif term.startswith('='):
return '^%s$' % term[1:]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment