diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/CookHeaders.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py index 993c0471..6b81546e 100644 --- a/Mailman/Handlers/CookHeaders.py +++ b/Mailman/Handlers/CookHeaders.py @@ -267,9 +267,6 @@ def prefix_subject(mlist, msg, msgdata): else: prefix_pattern = prefix old_style = mm_cfg.OLD_STYLE_PREFIXING - # Convert [ ( { ) --> \\[ \\( \\{ \\) to feed into re module. - # TK: Something magic should be here but after trial and error... - prefix_pattern = re.sub('([\[\(\{\)])', '\\\\\g<1>', prefix_pattern) subject = re.sub(re.escape(prefix_pattern), '', subject) rematch = re.match('((RE|AW|SV)(\[\d+\])?:\s*)+', subject, re.I) if rematch: |