================ @@ -102,9 +102,9 @@ def main(): filename = None lines_by_file = {} for line in sys.stdin: - match = re.search(r"^\+\+\+\ (.*?/){%s}(\S*)" % args.p, line) + match = re.search(r"^\+\+\+\s+(?:.*?/){%s}(.+)$" % args.p, line) ---------------- owenca wrote:
```suggestion match = re.search(r"^\+\+\+\ (.*?/){%s}(.+)" % args.p, line.rstrip()) ``` and restore line 107 below to make the minimum change. https://github.com/llvm/llvm-project/pull/135779 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits