Lines Matching refs:regex
365 regex = r'^%s: (None|[0-9]+(, [0-9]+)*)$' % (field,)
366 check_re = re.compile(regex)
378 'following case-sensitive regex:\n\n %s') % (field, regex)
389 regex = r'^%s: I[a-f0-9]+$' % (field,)
390 check_re = re.compile(regex)
402 'following case-sensitive regex:\n\n %s') % (field, regex)
457 for regex in regexes:
458 if not re.search(regex, desc, re.MULTILINE):
459 missing.append(regex)
502 regex = r'^%s: .*$' % (field,)
503 check_re = re.compile(regex)
514 error = TEST_MSG % (regex)
677 regex = r'^%s: .+$' % (field,)
678 check_re = re.compile(regex, re.IGNORECASE)
698 error = RELNOTE_REQUIRED_CURRENT_TXT_MSG % (regex)