help in converting perl re to python re

Joel Hedlund joel.hedlund at gmail.com
Fri Mar 3 06:45:38 EST 2006


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

Indeed. I second that.

/Joel



More information about the Python-list mailing list