Lines Matching refs:match
281 match = self.comment_re.match (line)
282 if match:
283 line = line[match.end():].lstrip()
286 def is_complete (self, match):
287 holder = match.group (4)
292 def update_copyright (self, dir, filename, filter, file, line, match):
297 intro = match.group (1)
300 after_years = line[match.end (2):].strip()
308 while not self.is_complete (match):
317 if not self.continuation_re.match (continuation):
326 match = self.copyright_re.match (line, match.start())
327 assert match
329 holder = match.group (4)
352 line = (line[:match.start (4)]
354 + line[match.end (4):])
357 line = line[:match.start (3)] + line[match.end (3):]
360 years = match.group (2).strip()
367 line = (line[:match.start (2)]
370 + line[match.end (2):])
377 line = line[:match.start (1)] + intro + line[match.end (1):]
405 if not (line_filter and line_filter.match (line)):
406 match = self.copyright_re.search (line)
407 if match:
409 file, line, match)