regex confusion

John Hunter jdhunter at ace.bsd.uchicago.edu
Tue Dec 9 12:23:30 EST 2003


>>>>> "Peter" == Peter Otten <__peter__ at web.de> writes:

    Peter> This may be off-topic, but the easiest if not fastest way
    Peter> to find multiple occurences of a string in a text is:

Right, I actually am using regex matching and not literal char
matching, but in trying to debug why my regex wasn't working, I
simplified it to the simplest case I could, which was a string
literal.

Thanks for the DOTALL pointer above.

JDH





More information about the Python-list mailing list