[Patches] [ python-Patches-521478 ] mailbox / fromline matching

noreply@sourceforge.net noreply@sourceforge.net
Fri, 22 Feb 2002 06:54:55 -0800


Patches item #521478, was opened at 2002-02-22 06:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=521478&group_id=5470

Category: Library (Lib)
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Camiel Dobbelaar (camield)
Assigned to: Nobody/Anonymous (nobody)
Summary: mailbox / fromline matching

Initial Comment:
mailbox.py does not parse this 'From' line correctly:
>From camield@sentia.nl Mon Apr 23 18:22:28 2001 +0200
                                                ^^^^^
This is because of the trailing timezone information, 
that the regex does not account for.

Also, 'From' should match at the beginning of the line.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=521478&group_id=5470