diff options
author | tkikuchi <> | 2005-01-25 07:52:01 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-01-25 07:52:01 +0000 |
commit | 7a49e5bb0a31c6df0429111301321f71f250a8cc (patch) | |
tree | 9ac7522b58f6bffeb071ec0d04567ded598766e5 /Mailman/Handlers/CookHeaders.py | |
parent | 54fed43e6c37ce9c9c06bb75b0c3716d24871d8d (diff) | |
download | mailman2-7a49e5bb0a31c6df0429111301321f71f250a8cc.tar.gz mailman2-7a49e5bb0a31c6df0429111301321f71f250a8cc.tar.xz mailman2-7a49e5bb0a31c6df0429111301321f71f250a8cc.zip |
Fix in pipermail to use Unicode for indexing (sort fails for ascii 8bit)
with some code clean up. Also, include SV (danish/swedish) Re: like pattern.
Diffstat (limited to 'Mailman/Handlers/CookHeaders.py')
-rw-r--r-- | Mailman/Handlers/CookHeaders.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py index aafe02fe..3cc022a1 100644 --- a/Mailman/Handlers/CookHeaders.py +++ b/Mailman/Handlers/CookHeaders.py @@ -269,7 +269,7 @@ def prefix_subject(mlist, msg, msgdata): # TK: Something magic should be here but after trial and error... prefix_pattern = re.sub('([\[\(\{\)])', '\\\\\g<1>', prefix_pattern) subject = re.sub(prefix_pattern, '', subject) - rematch = re.match('((RE|AW)(\[\d+\])?:\s*)+', subject, re.I) + rematch = re.match('((RE|AW|SV)(\[\d+\])?:\s*)+', subject, re.I) if rematch: subject = subject[rematch.end():] recolon = 'Re:' |