From 6b4a932a971d0d2c3969b9d53ad574dfd39d2a44 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 31 Aug 2005 22:09:02 +0000 Subject: backport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output --- Lib/HTMLParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/HTMLParser.py b/Lib/HTMLParser.py index 8380466..f26d09c 100644 --- a/Lib/HTMLParser.py +++ b/Lib/HTMLParser.py @@ -36,7 +36,7 @@ locatestarttagend = re.compile(r""" (?:'[^']*' # LITA-enclosed value |\"[^\"]*\" # LIT-enclosed value |[^'\">\s]+ # bare value - ) + )? )? ) )* -- cgit v0.12