]> granicus.if.org Git - python/commitdiff
bug [ 761452 ] HTMLParser chokes on my.yahoo.com output
authorGeorg Brandl <georg@python.org>
Wed, 31 Aug 2005 22:08:45 +0000 (22:08 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 31 Aug 2005 22:08:45 +0000 (22:08 +0000)
Lib/HTMLParser.py

index 8380466e337500cc5714abd588170da81d4f23f4..f26d09c49e9e08704ff0f5fd4d804a9cad3daeb9 100644 (file)
@@ -36,7 +36,7 @@ locatestarttagend = re.compile(r"""
         (?:'[^']*'                   # LITA-enclosed value
           |\"[^\"]*\"                # LIT-enclosed value
           |[^'\">\s]+                # bare value
-         )
+         )?
        )?
      )
    )*