Lines Matching refs:line
37 def __diff_match_file_start(control_block: dict, line: str):
39 if not line.startswith(pattern):
51 def __diff_match_is_newfile(control_block: dict, line: str):
53 if not line.startswith(pattern):
60 def __diff_match_filename_with_minus(control_block: dict, line: str):
62 if re.match(pattern, line) is None:
69 def __diff_match_filename_with_plus(control_block: dict, line: str):
71 if re.match(pattern, line) is None:
75 if re.search(key, line) is not None:
77 res = re.match(pattern, line)
88 def __diff_match_start_linenum(control_block: dict, line: str):
90 if control_block["match_flag"] is False or re.match(pattern, line) is None:
93 res = re.match(pattern, line)
98 def __diff_match_code_line(control_block: dict, line: str):
102 if control_block["match_flag"] is False or re.match(pattern1, line) is None:
105 res = re.match(pattern2, line)
138 for line in gitee_pr_diff.splitlines():
140 if handler(control_block, line) is True: