Using the re module (Regular expressions)
Steve Holden
sholden at holdenweb.com
Wed Sep 27 18:40:47 EDT 2000
More information about the Python-list mailing list
Wed Sep 27 18:40:47 EDT 2000
- Previous message (by thread): Using the re module (Regular expressions)
- Next message (by thread): Interface to Objectivity?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Morten W. Petersen" wrote: > > 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 One simple possibility is the the header undoubtedly reads "Received: ..." regards Steve -- Helping people meet their information needs with training and technology. 703 967 0887 sholden at bellatlantic.net http://www.holdenweb.com/
- Previous message (by thread): Using the re module (Regular expressions)
- Next message (by thread): Interface to Objectivity?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list