From 1ad167b30451d216c3c5ca6a0d1dc349f72c448b Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 26 Sep 2002 03:03:18 +0000 Subject: [PATCH] bugfix to this morning's mailgw subject RE change git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1246 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/mailgw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roundup/mailgw.py b/roundup/mailgw.py index 0af651d..726cee0 100644 --- a/roundup/mailgw.py +++ b/roundup/mailgw.py @@ -73,7 +73,7 @@ are calling the create() method to create a new node). If an auditor raises an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.91 2002-09-26 00:01:51 richard Exp $ +$Id: mailgw.py,v 1.92 2002-09-26 03:03:18 richard Exp $ ''' import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri @@ -131,7 +131,7 @@ class Message(mimetools.Message): return Message(s) subject_re = re.compile(r'(?P\s*\W?\s*(fwd|re|aw)\s*\W?\s*)*' - r'\s*(P")?(\[(?P[^\d\s]+)(?P\d+)?\])?' + r'\s*(?P")?(\[(?P[^\d\s]+)(?P\d+)?\])?' r'\s*(?P[^[]+)?"?(\[(?P<args>.+?)\])?', re.I) class MailGW: -- 2.30.2