Trouble with regex

Fernando iscaris at hotmail.com
Wed Jan 1 13:03:22 CET 2003


Jp Calderone <exarkun at intarweb.us> wrote in message news:<mailman.1041356825.8079.python-list at python.org>...
> 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

Sounds reasonable... ;-)

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

I'll check sgmllib, thanks.




More information about the Python-list mailing list