mirror of
https://github.com/python/cpython
synced 2026-09-29 07:25:29 +03:00
typos in attrfind regex
This commit is contained in:
parent
d58364e709
commit
650ba37e1d
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ class SGMLParser:
|
|||
attrfind = regex.compile(
|
||||
'[ \t\n]+\([a-zA-Z_][a-zA-Z_0-9]*\)' +
|
||||
'\([ \t\n]*=[ \t\n]*' +
|
||||
'\(\'[^\']*\';\|"[^"]*"\|[-a-zA-Z0-9./:+*%?!()_#]+\)\)?')
|
||||
'\(\'[^\']*\'\|"[^"]*"\|[-a-zA-Z0-9./:+*%?!()_#]*\)\)?')
|
||||
k = tagfind.match(rawdata, i+1)
|
||||
if k < 0:
|
||||
raise RuntimeError, 'unexpected call to parse_starttag'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue