Trouble with regex

Jp Calderone exarkun at intarweb.us
Tue Dec 31 12:46:44 EST 2002


On Tue, Dec 31, 2002 at 08:24:52AM -0800, Fernando wrote:
> I'm writing a regex to retrieve all the links in a google result page,
> but I'm only geting the first one.
> [snip]

Some people, when confronted with a problem, think "I know, I'll use regular
expressions." Now they have two problems.
   -- Jamie Zawinski

  Use sgmllib or, if google returns xhtml (I don't think it does) an xml
package.

  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
--
 12:00am up 14 days, 9:45, 3 users, load average: 0.15, 0.25, 0.16
-------------- 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/20021231/e6f0b6ef/attachment.sig>


More information about the Python-list mailing list