Home | History | Annotate | Download | only in clang-format

Lines Matching refs:match

65     match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line)
66 if match:
67 filename = match.group(2)
72 if not re.match('^%s$' % args.regex, filename):
75 if not re.match('^%s$' % args.iregex, filename, re.IGNORECASE):
78 match = re.search('^@@.*\+(\d+)(,(\d+))?', line)
79 if match:
80 start_line = int(match.group(1))
82 if match.group(3):
83 line_count = int(match.group(3))