summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-31 22:09:02 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-31 22:09:02 (GMT)
commit6b4a932a971d0d2c3969b9d53ad574dfd39d2a44 (patch)
tree0a6280f5fe804beb319023738e27ce049b6c0eb9 /Lib
parentfe05c5f7563d5a0d0038eb56a55f3309cf383526 (diff)
downloadcpython-6b4a932a971d0d2c3969b9d53ad574dfd39d2a44.zip
cpython-6b4a932a971d0d2c3969b9d53ad574dfd39d2a44.tar.gz
cpython-6b4a932a971d0d2c3969b9d53ad574dfd39d2a44.tar.bz2
backport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output
Diffstat (limited to 'Lib')
-rw-r--r--Lib/HTMLParser.py2
1 files changed, 1 insertions, 1 deletions
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
- )
+ )?
)?
)
)*