Use raw string to avoid regex warning Followup to #1550
diff --git a/scripts/update_bazel_workspace.py b/scripts/update_bazel_workspace.py index 9997f0f..637c355 100755 --- a/scripts/update_bazel_workspace.py +++ b/scripts/update_bazel_workspace.py
@@ -64,7 +64,7 @@ with open(BAZEL_MODULE_FILE, 'r') as f: content = f.read() - pattern = '(module\(\s*name = "emsdk",\s*version = )"\d+.\d+.\d+",\n\)' + pattern = r'(module\(\s*name = "emsdk",\s*version = )"\d+.\d+.\d+",\n\)' # Verify that the pattern exists in the input since re.sub will # will succeed either way. assert re.search(pattern, content)