Searched refs:likestr (Results 1 – 1 of 1) sorted by relevance
100 def __init__(self, likestr, re_flags=re.IGNORECASE): argument104 likestr = likestr.replace(char, '\\'+char)106 self.likestr = likestr.replace('%', '.*')107 self.re = re.compile('^'+self.likestr+'$', re_flags)690 return cmp(len(b.likestr), len(a.likestr))