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

Indeed. I second that.

/Joel
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to