From 7a49e5bb0a31c6df0429111301321f71f250a8cc Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Tue, 25 Jan 2005 07:52:01 +0000 Subject: 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. --- Mailman/Handlers/CookHeaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Handlers/CookHeaders.py') 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:' -- cgit v1.2.3