re and multiline strings
Uwe Hoffmann
nospam at nospam.de
Sat Jul 21 16:16:25 EDT 2001
Lee Harr wrote:
>
> >>> t = 'aaazbbbycccc\nccccc\n'
> >>> p = re.compile('(.*?)z(.*?)y(.*)')
p = re.compile('(.*?)z(.*?)y(.*)',re.S)
More information about the Python-list
mailing list