[2.5] Regex doesn't support MULTILINE?

Carsten Haese carsten at uniqsys.com
Sun Jul 22 04:18:56 CEST 2007


On Sun, 2007-07-22 at 04:09 +0200, Gilles Ganault wrote:
> Hello
> 
> I'm trying to extract information from a web page using the Re module,

That's your problem right there. RE is not the right tool for that job.
Use an actual HTML parser such as BeautifulSoup
(http://www.crummy.com/software/BeautifulSoup/) and your life will be
much easier.

HTH,

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list