diff options
author | Guido van Rossum <guido@python.org> | 1995-08-10 19:43:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-10 19:43:53 (GMT) |
commit | eae892d232ecf7ea0692f1846aa7ccae10e90e04 (patch) | |
tree | 1f602de3c35140df5b1ce8da4577b480076774dc /Lib | |
parent | a62b1003a67e9da5bbf92679a2b07c7ceab05c43 (diff) | |
download | cpython-eae892d232ecf7ea0692f1846aa7ccae10e90e04.zip cpython-eae892d232ecf7ea0692f1846aa7ccae10e90e04.tar.gz cpython-eae892d232ecf7ea0692f1846aa7ccae10e90e04.tar.bz2 |
added note about missing features
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/sgmllib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 695530a..3eed7a8 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]*' + |