Using the re module (Regular expressions)
Kragen Sitaker
kragen at dnaco.net
Wed Sep 27 00:47:34 EDT 2000
In article <3dog1bxm3f.fsf at kronos.cnri.reston.va.us>,
Andrew Kuchling <akuchlin at mems-exchange.org> wrote:
>"Darrell Gallion" <darrell at dorb.com> writes:
>> Try this
>> r'(?s)Returned-Path:\s<.*>\012Recieved:'
>
>Also note that it's spelled 'Received'.
It's also spelled 'Return-Path'.
--
<kragen at pobox.com> Kragen Sitaker <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we ourselves
possess.
-- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]
More information about the Python-list
mailing list