search regular expression
Jp Calderone
exarkun at intarweb.us
Thu Feb 13 18:26:07 EST 2003
On Fri, Feb 14, 2003 at 03:41:24AM +0100, Marian F?rster wrote:
> i need a regular expression to found table like:
>
> [snip html table]
>
> with
>
> [snip SyntaxError, regular expression]
>
> only found text at beginning of <img........
> but I need text at beginning from <table cel....
>
Use sgmllib.SGMLParser instead.
http://www.python.org/doc/lib/module-sgmllib.html
You could also use htmllib.HTMLParser, but I've had more success with
sgmllib.
Jp
--
"There is no reason for any individual to have a computer in their
home."
-- Ken Olson, President of DEC, World Future Society
Convention, 1977
--
up 5 days, 4:28, 4 users, load average: 0.03, 0.01, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030213/c5d1b7c1/attachment.sig>
More information about the Python-list
mailing list