summaryrefslogtreecommitdiff
path: root/src/mailman/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/handlers')
-rw-r--r--src/mailman/handlers/subject_prefix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/handlers/subject_prefix.py b/src/mailman/handlers/subject_prefix.py
index ff728d92e..5dcfe410a 100644
--- a/src/mailman/handlers/subject_prefix.py
+++ b/src/mailman/handlers/subject_prefix.py
@@ -158,7 +158,7 @@ class SubjectPrefix:
prefix_pattern = re.escape(prefix)
# Unescape '%'.
prefix_pattern = '%'.join(prefix_pattern.split(r'\%'))
- p = re.compile('%\d*d')
+ p = re.compile(r'%\d*d')
if p.search(prefix, 1):
# The prefix has number, so we should search prefix w/number in
# subject. Also, force new style.