File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def main():
242242 filename = None
243243 lines_by_file = {}
244244 for line in sys .stdin :
245- match = re .search ('^\+\+\+ \ "?(.*?/){%s}([^ \t \n "]*)' % args .p , line )
245+ match = re .search ('^\\ + \\ + \\ + \ \ "?(.*?/){%s}([^ \t \n "]*)' % args .p , line )
246246 if match :
247247 filename = match .group (2 )
248248 if filename is None :
@@ -255,7 +255,7 @@ def main():
255255 if not re .match ("^%s$" % args .iregex , filename , re .IGNORECASE ):
256256 continue
257257
258- match = re .search ("^@@.*\+(\d+)(,(\d+))?" , line )
258+ match = re .search (r "^@@.*\+(\d+)(,(\d+))?" , line )
259259 if match :
260260 start_line = int (match .group (1 ))
261261 line_count = 1
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def get_checkers(checkers_td, checkers_rst):
5959 "clang-analyzer-" + checker_package_prefix + "." + checker_name
6060 )
6161 anchor_url = re .sub (
62- "\." , "-" , checker_package_prefix + "." + checker_name
62+ r "\." , "-" , checker_package_prefix + "." + checker_name
6363 ).lower ()
6464
6565 if not hidden and "alpha" not in full_package_name .lower ():
You can’t perform that action at this time.
0 commit comments