diff Lib/HTMLParser.py @ 35499:ba44e9e2b554 2.4

backport bug [ 761452 ] HTMLParser chokes on my.yahoo.com output
author Georg Brandl <georg@python.org>
date Wed, 31 Aug 2005 22:09:02 +0000
parents 06abdcd57fa8
children 15a8975f7fa9
line wrap: on
line diff
--- a/Lib/HTMLParser.py	Wed Aug 31 11:05:01 2005 +0000
+++ b/Lib/HTMLParser.py	Wed Aug 31 22:09:02 2005 +0000
@@ -36,7 +36,7 @@
         (?:'[^']*'                   # LITA-enclosed value
           |\"[^\"]*\"                # LIT-enclosed value
           |[^'\">\s]+                # bare value
-         )
+         )?
        )?
      )
    )*