Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f399fb commit e3d9320Copy full SHA for e3d9320
1 file changed
Lib/sgmllib.py
@@ -176,7 +176,7 @@ def parse_starttag(self, i):
176
attrs = []
177
tagfind = regex.compile('[a-zA-Z][a-zA-Z0-9]*')
178
attrfind = regex.compile(
179
- '[ \t\n]+\([a-zA-Z][a-zA-Z0-9]*\)' +
+ '[ \t\n]+\([a-zA-Z_][a-zA-Z_0-9]*\)' +
180
'\([ \t\n]*=[ \t\n]*' +
181
'\(\'[^\']*\';\|"[^"]*"\|[-a-zA-Z0-9./:+*%?!()_#]+\)\)?')
182
k = tagfind.match(rawdata, i+1)
0 commit comments