3 ms·
>>Most people are ignorant of how bad most of the HTML on the web is, it is simply unparseable. And somehow using a regex to guess at all the possible combinat
by coderdude 17y ago
>>Most people are ignorant of how bad most of the HTML on the web is, it is simply unparseable.
And somehow using a regex to guess at all the possible combinations of "badness" is the correct way to go? You seem lost my friend. Everything you're saying is backwards to what someone who actually parses a lot of HTML "in the wild" would say on the topic. It sounds more like you're trying to cuss your way into being correct.
- PHP-TROLL 17y agoI'm not talking about parsing HTML. I'm talking about getting data out of HTML which is completely different. One doesn't need to guess at all possible combinations of badness using a regex, you just need to find the data you need and adjust the regex to the badness of that particular page. Do you know anyone that mines for data out of HTML "in the wild"? I didn't think so.