Lines Matching refs:match
140 # Rewrite the section in the .TH line to match the section in which
162 if so_re.match(text) is not None:
170 match = section_re.match(line)
171 if match is not None:
172 section = match.group(1)
183 match = TH_re.match(line)
184 if match and rewrite_sect.lower() == "true":
188 line = line[:match.span(1)[0]] + sect + \
189 line[match.span(1)[1]:]