Fix Python esacpe sequences (presubmit warning)

 "...\s..." --> "...\\s..."
 "...\(..." --> "...\\(..."

Change-Id: Ia54027044b1bd768d2e5234c8d96fe1b922cfcac
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/75008
Commit-Queue: David Neto <dneto@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@google.com>
Tested-by: Shahbaz Youssefi <syoussefi@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@google.com>
Kokoro-Result: kokoro <noreply+kokoro@google.com>
diff --git a/tests/scan_sources/main.py b/tests/scan_sources/main.py
index d9bab46..a35a717 100644
--- a/tests/scan_sources/main.py
+++ b/tests/scan_sources/main.py
@@ -28,11 +28,11 @@
 
 	# Regex for Memset< template use as base class (must be the first,
 	# thus, there must not be a ',' before it)
-	memset_template_check = re.compile(",\s*Memset\s*<")
+	memset_template_check = re.compile(",\\s*Memset\\s*<")
 	
 	# Regex for Memset( template use as initializer (must be the first,
 	# thus, there must not be a ',' before it)
-	memset_call_check = re.compile(",\s*Memset\s*\(")
+	memset_call_check = re.compile(",\\s*Memset\\s*\\(")
 
 	retval = 0
 
@@ -52,4 +52,4 @@
 if len(sys.argv) < 2:
 	print("Give source directory as parameter.")
 	sys.exit(1)
-main(sys.argv[1])
\ No newline at end of file
+main(sys.argv[1])