Regexp Over Multiple Lines

Bengt Richter bokr at
Wed Sep 4 16:38:39 EDT 2002

On 4 Sep 2002 08:40:22 -0700, vetter at (Keith) wrote:

>In Python can I have a regular expression that spans multiple lines...
Yes, see X flag on

and read about the re module at

wherefrom you can find the syntax at

etc. etc. It should look familiar.


Bengt Richter

More information about the Python-list mailing list