mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +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
|
(?:'[^']*' # LITA-enclosed value
|
||||||
|\"[^\"]*\" # LIT-enclosed value
|
|\"[^\"]*\" # LIT-enclosed value
|
||||||
|[^'\">\s]+ # bare value
|
|[^'\">\s]+ # bare value
|
||||||
)?
|
)
|
||||||
)?
|
)?
|
||||||
)
|
)
|
||||||
)*
|
)*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue