mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Reverting previous checkin. This breaks too much of HTMLParser to be applied
without thought. Anyway, such malformed HTML is better handled by something like BeautifulSoup.
This commit is contained in:
parent
4ce69a5b06
commit
cd3c26a717
@ -36,7 +36,7 @@ locatestarttagend = re.compile(r"""
|
||||
(?:'[^']*' # LITA-enclosed value
|
||||
|\"[^\"]*\" # LIT-enclosed value
|
||||
|[^'\">\s]+ # bare value
|
||||
)?
|
||||
)
|
||||
)?
|
||||
)
|
||||
)*
|
||||
|
Loading…
Reference in New Issue
Block a user