diff options
author | Georg Brandl <georg@python.org> | 2005-08-31 22:09:02 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2005-08-31 22:09:02 (GMT) |
commit | 6b4a932a971d0d2c3969b9d53ad574dfd39d2a44 (patch) | |
tree | 0a6280f5fe804beb319023738e27ce049b6c0eb9 /Lib | |
parent | fe05c5f7563d5a0d0038eb56a55f3309cf383526 (diff) | |
download | cpython-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.py | 2 |
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 - ) + )? )? ) )* |