ask for a RE pattern to match TABLE in html

Jonathan Gardner jgardner at jonathangardner.net
Thu Jun 26 19:11:41 EDT 2008


On Jun 26, 3:22 pm, MRAB <goo... at mrabarnett.plus.com> wrote:
> Try something like:
>
> re.compile(r'<table\b.*?>.*?</table>', re.DOTALL)

So you would pick up strings like "<table><tr><td><table><tr><td>foo</
td></tr></table>"? I doubt that is what oyster wants.



More information about the Python-list mailing list