3 ms·
It's famous, funny, and a classic, but the original SO question was about "matching open html tags" with a regex while the answer was about "parsing [X]HTML" wi
by chillacy 9y ago
It's famous, funny, and a classic, but the original SO question was about "matching open html tags" with a regex while the answer was about "parsing [X]HTML" with a regex. So the poster made some assumptions about what the original question's author was intending to do. Ultimately the choice between which tool to pick is a tradeoff that has to be made by the author, as hinted in the (much better) second answer: https://stackoverflow.com/a/1733489 https://stackoverflow.com/a/1733489