mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ locatestarttagend = re.compile(r"""
|
|||
(?:'[^']*' # LITA-enclosed value
|
||||
|\"[^\"]*\" # LIT-enclosed value
|
||||
|[^'\">\s]+ # bare value
|
||||
)?
|
||||
)
|
||||
)?
|
||||
)
|
||||
)*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue