Re: python re - a not needed

2004-12-16 Thread Peter Otten
kepes.krisztian wrote: > Hi ! > > I want to get infos from a html, but I need all chars except <. > All chars is: over chr(31), and over (128) - hungarian accents. > The .* is very hungry, it is eat < chars too. > > If I can use not, I simply define an regexp. > [not<]* > > It is get all in the

Re: python re - a not needed

2004-12-16 Thread Paul Rubin
Max M <[EMAIL PROTECTED]> writes: > Instead of writing ad-hoc html parsers, use BeautifulSoup instead. > > http://www.crummy.com/software/BeautifulSoup/ Hey, I like that. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: python re - a not needed

2004-12-16 Thread Max M
kepes.krisztian wrote: I want to get infos from a html, but I need all chars except <. All chars is: over chr(31), and over (128) - hungarian accents. The .* is very hungry, it is eat < chars too. Instead of writing ad-hoc html parsers, use BeautifulSoup instead. http://www.crummy.com/software/Beau