3 ms·
Obligatory "You can't parse HTML with Regex" link: http://stackoverflow.com/a/1732454/1935918 http://stackoverflow.com/a/1732454/1935918
by dankohn1 11y ago
Obligatory "You can't parse HTML with Regex" link: http://stackoverflow.com/a/1732454/1935918 http://stackoverflow.com/a/1732454/1935918
- wodenokoto 11y agoI really hate that link. Not only is it uninformative, I disagree with it. If you know the shape of your html data, parsing it with regular expressions can be much easier than with a dedicated parser.
- scott_karana 11y ago> If you know the shape of your html data, parsing it with regular expressions can be much easier than with a dedicated parser. If you know the shape of your HTML in advance, you're hardly "parsing" it. :)