Lines Matching refs:match
742 match = re.match(r"(\d+)(:(\d+))?", self.options.revision)
743 if not match:
745 self.rev_start = match.group(1)
746 self.rev_end = match.group(3)
1019 match = re.match(r"diff --git a/(.*) b/.*$", line)
1020 if match:
1022 filename = match.group(1)
1028 match = re.match(r"index (\w+)\.\.", line)
1029 if match:
1030 self.base_hashes[filename] = match.group(1)
1087 m = re.match("diff --git a/(\S+) b/(\S+)", line)