Using the re module (Regular expressions)

Morten W. Petersen morten at esol.no
Mon Sep 25 18:04:30 EDT 2000


I want to match a string, 'Returned-Path: <someuser at somehost>\nRecieved:'.

Why doesn't re.compile(r'Return-Path:\s<.*>^Recieved:',re.MULTILINE) return
a search object that'll match that line?

Thanks in advance.

-Morten



More information about the Python-list mailing list