diff options
-rw-r--r-- | patchwork/parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/parser.py b/patchwork/parser.py index a2db403..40a80f2 100644 --- a/patchwork/parser.py +++ b/patchwork/parser.py @@ -486,7 +486,7 @@ def parse_version(subject, subject_prefixes): Returns: version if found, else 1 """ - regex = re.compile('^[vV](\d+)$') + regex = re.compile(r'^[vV](\d+)$') m = _find_matching_prefix(subject_prefixes, regex) if m: return int(m.group(1)) |