[SOLVED] F: How can I make re.sub() replace patterns across newlines

Viktor Rosenfeld rosenfel at informatik.hu-berlin.de
Mon Feb 2 07:59:25 EST 2004


Thanks to all that were quick to answer, using re.DOTALL indeed solves the
problem.  I was too tired to read the documentation correctly.

Ciao,
Viktor




More information about the Python-list mailing list