From 082e79db1ff8b0cdd8763a41e9c374e44fb69bd8 Mon Sep 17 00:00:00 2001 From: knot126 <73200930+knot126@users.noreply.github.com> Date: Sun, 9 Jun 2024 16:14:39 +0000 Subject: [PATCH] Fix "SyntaxWarning: invalid escape sequence '\d'" --- specs/croc1/health_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/croc1/health_check.py b/specs/croc1/health_check.py index e2f34ad..6cfbb9b 100644 --- a/specs/croc1/health_check.py +++ b/specs/croc1/health_check.py @@ -131,7 +131,7 @@ def run_strat(strat, strat_path, csv_path, output_dir, counts): counts["disassembler"]["failed"] += 1 return - mo = re.search("Found (\d+) strat\(s\) in", result.stdout) + mo = re.search("Found (\\d+) strat\\(s\\) in", result.stdout) if not mo: print("Invalid output!") counts["reconstructor"]["failed"] += 1