Mercurial > p > roundup > code
changeset 1220:953279b8b32f
bugfix to this morning's mailgw subject RE change
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 26 Sep 2002 03:03:18 +0000 |
| parents | 9620f6782cb7 |
| children | 778297033003 |
| files | roundup/mailgw.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/mailgw.py Thu Sep 26 00:54:25 2002 +0000 +++ b/roundup/mailgw.py Thu Sep 26 03:03:18 2002 +0000 @@ -73,7 +73,7 @@ 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 @@ return Message(s) subject_re = re.compile(r'(?P<refwd>\s*\W?\s*(fwd|re|aw)\s*\W?\s*)*' - r'\s*(P<quote>")?(\[(?P<classname>[^\d\s]+)(?P<nodeid>\d+)?\])?' + r'\s*(?P<quote>")?(\[(?P<classname>[^\d\s]+)(?P<nodeid>\d+)?\])?' r'\s*(?P<title>[^[]+)?"?(\[(?P<args>.+?)\])?', re.I) class MailGW:
