diff options
Diffstat (limited to 'testing/web-platform/update/tree.py')
-rw-r--r-- | testing/web-platform/update/tree.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/web-platform/update/tree.py b/testing/web-platform/update/tree.py index 48197c74b6..34e333bfe6 100644 --- a/testing/web-platform/update/tree.py +++ b/testing/web-platform/update/tree.py @@ -157,13 +157,13 @@ class GeckoCommitMessage(CommitMessage): # than just enforce a general pattern. _bug_re = re.compile( - "^Bug (\d+)[^\w]*(?:Part \d+[^\w]*)?(.*?)\s*(?:r=(\w*))?$", re.IGNORECASE + r"^Bug (\d+)[^\w]*(?:Part \d+[^\w]*)?(.*?)\s*(?:r=(\w*))?$", re.IGNORECASE ) _backout_re = re.compile( - "^(?:Back(?:ing|ed)\s+out)|Backout|(?:Revert|(?:ed|ing))", re.IGNORECASE + r"^(?:Back(?:ing|ed)\s+out)|Backout|(?:Revert|(?:ed|ing))", re.IGNORECASE ) - _backout_sha1_re = re.compile("(?:\s|\:)(0-9a-f){12}") + _backout_sha1_re = re.compile(r"(?:\s|\:)(0-9a-f){12}") def _parse_message(self): CommitMessage._parse_message(self) |