예제 #1
0
파일: test.py 프로젝트: jackdied/boolmatch
 def both(txt):
     return combine_ors(tokenize(txt))
예제 #2
0
 def both(txt): return combine_ors(tokenize(txt))
 self.assertEqual(both('this OR that AND jelly'), ['this OR that', 'AND', 'jelly'])
예제 #3
0
파일: test.py 프로젝트: jackdied/boolmatch
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))
예제 #4
0
 def _combine_ors(l):
     return combine_ors(map(tagstr, l))