Lines Matching defs:re
35 import re, sys
38 arcre = re.compile(r'^([A-Z][A-Z]*ARC[/ \t][12]\d{3}/\d{3}) (.*)$')
39 bugre = re.compile(r'^(\d{7}) (.*)$')
52 return re.sub(r'^([A-Z][A-Z]*ARC)[/ \t]', '\\1 ', caseid)
66 bugnospcre = re.compile(r'^(\d{7})([^ ].*)')
67 ignorere = re.compile(r'^(Portions contributed by |Contributed by |back[ -]?out )')
115 arc, case = re.split('[/ \t]', match.group(1), 1)
144 if not re.search(r'^' + re.escape(synopsis) +
166 # trailing (fix nit)-type comment, and re-try.
173 dbcom = re.sub(r' \([^)]+\)$', '', entered)