Home | History | Annotate | Download | only in tko

Lines Matching full:condition

20 def parse_scrub_and_gen_condition(condition, valid_field_dict):
26 condition = condition.strip()
29 #match = re.match(r'^[(](.+)[)]$', condition)
31 # dprint("Matched () on %s" % condition)
43 match = re.match(r'^(.+)[|](.+)$', condition)
45 dprint("Matched | on %s" % condition)
52 match = re.match(r'^(.+)[&](.+)$', condition)
54 dprint("Matched & on %s" % condition)
61 #match = re.match(r'^[!](.+)$', condition)
63 # dprint("Matched ! on %s" % condition)
73 match = re.match(regex, condition)
88 raise "Could not parse '%s' (%s)" % (condition, regex)