From: Guido van Rossum Date: Thu, 10 Aug 1995 19:43:53 +0000 (+0000) Subject: added note about missing features X-Git-Tag: v1.3b1~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eae892d232ecf7ea0692f1846aa7ccae10e90e04;p=thirdparty%2FPython%2Fcpython.git added note about missing features --- diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 695530a2b00e..3eed7a8fd7b7 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -173,6 +173,8 @@ class SGMLParser: # Now parse the data between i+1 and j into a tag and attrs attrs = [] tagfind = regex.compile('[a-zA-Z][a-zA-Z0-9]*') + # XXX Should also support value-less attributes (e.g. ISMAP) + # XXX Should use regex.group() attrfind = regex.compile( '[ \t\n]+\([a-zA-Z][a-zA-Z0-9]*\)' + '\([ \t\n]*=[ \t\n]*' +