May I add that it also fails if there are extra space after the timezone code.  

 -- Jon Nelson <[EMAIL PROTECTED]>  Thu, 11 Dec 1997 13:43:50 -0600_

(the _ is a space)

I've added \s* at the end of Reinhard string:

endline = re.compile('^ -- (.*)  (\w\w\w, +(\d| \d|\d\d) \w\w\w \d\d\d\d '+
      '\d\d:\d\d:\d\d [-+]\d\d\d\d( \(.*\))?)\s*$')

Attachment: pgpc5v9U4Brmw.pgp
Description: PGP signature

Reply via email to