Lines Matching refs:match
20 Opens a file for reading and searches line by line for a match to
22 first match. Does not search across newlines.
33 default: what to return if no match
40 match = pattern_object.search(line)
41 if match:
42 return match.group('return')
52 default: what to return if no match
57 match = re.search(pattern, input_string)
58 return match.group('return') if match else default