Regular Expression help
Kent Johnson
kent at kentsjohnson.com
Fri Apr 28 06:57:51 EDT 2006
Edward Elliott wrote:
> johnzenger at gmail.com wrote:
>> If you are parsing HTML, it may make more sense to use a package
>> designed especially for that purpose, like Beautiful Soup.
>
> I don't know Beautiful Soup, but one advantage regexes have over some
> parsers is handling malformed html.
Beautiful Soup is intended to handle malformed HTML and seems to do
pretty well.
Kent
More information about the Python-list
mailing list