Index: tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py |
diff --git a/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py b/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py |
index 9ae22fa1618177dc02184077f42e1a4a9f2a7f90..9bdd2432f57fd692556f04bb7042bed4ebdb72b9 100644 |
--- a/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py |
+++ b/tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py |
@@ -263,11 +263,11 @@ class ChromeBrowserBackend(browser_backend.BrowserBackend): |
resp = json.loads(data) |
if 'Protocol-Version' in resp: |
if 'Browser' in resp: |
- branch_number_match = re.search('Chrome/\d+\.\d+\.(\d+)\.\d+', |
+ branch_number_match = re.search(r'Chrome/\d+\.\d+\.(\d+)\.\d+', |
resp['Browser']) |
else: |
branch_number_match = re.search( |
- 'Chrome/\d+\.\d+\.(\d+)\.\d+ (Mobile )?Safari', |
+ r'Chrome/\d+\.\d+\.(\d+)\.\d+ (Mobile )?Safari', |
resp['User-Agent']) |
if branch_number_match: |