ask for a RE pattern to match TABLE in html

Jonathan Gardner jgardner at jonathangardner.net
Fri Jun 27 01:11:41 CEST 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