Using the re module (Regular expressions)

Andrew Kuchling akuchlin at
Tue Sep 26 16:29:56 CEST 2000

"Darrell Gallion" <darrell at> writes:
> Try this
> r'(?s)Returned-Path:\s<.*>\012Recieved:'

Also note that it's spelled 'Received'.  It looks like the original
poster is trying to do something with RFC-822 headers; any reason the
rfc822 module couldn't be used?


More information about the Python-list mailing list