re.sub problem

Darrell Gallion darrell at dorb.com
Sat Nov 4 02:33:16 CET 2000


>>for i in re.findall("(?s)}',
'(From:.*?\015\012Subject:.*?)\015\012\015\012'\)", s):
            print i

----------- output -------------
From:
tele at telegraph.co.uk
Subject: TPLO Sport Talk
From: The Mutual
<mobilesatprizescratch.com at traq.it>
Subject: Great WAP Phone
Offer


--Darrell






More information about the Python-list mailing list