From: Guido van Rossum Date: Fri, 4 Aug 1995 04:22:39 +0000 (+0000) Subject: changed comment parsing X-Git-Tag: v1.3b1~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=145b2e0168ddd865e476b498705ea84d8c7b82b1;p=thirdparty%2FPython%2Fcpython.git changed comment parsing --- diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index 2c92c3180f53..695530a2b00e 100644 --- a/Lib/sgmllib.py +++ b/Lib/sgmllib.py @@ -21,7 +21,9 @@ entityref = regex.compile('&[a-zA-Z][a-zA-Z0-9]*[;.]') charref = regex.compile('&#[a-zA-Z0-9]+;') starttagopen = regex.compile('<[a-zA-Z]') endtag = regex.compile('') +special = regex.compile(']*>') commentopen = regex.compile('