4 ms·You can't parse [X]HTML with regex.14 points by alexbosworth 17y agonailer 17y agoYou could shorten this to 'regexs are for strings, xml is tree shaped'. This is the reason etree is now a standard type in Python.