help in converting perl re to python re

Joel Hedlund joel.hedlund at gmail.com
Fri Mar 3 12:45:38 CET 2006


> I'd go for
> regexp = re.compile(r"<(tag1)>(.*?)</\1>")

Indeed. I second that.

/Joel



More information about the Python-list mailing list