4 ms·
I disagree. He went through a lot of effort to lay down the foundations of parsing html with regexps. If anything, he's demonstrated exactly how difficult doing
by astine 15y ago
I disagree. He went through a lot of effort to lay down the foundations of parsing html with regexps. If anything, he's demonstrated exactly how difficult doing this is and how finicky the solution is. In short, he's stripped the sexy out of using regexps to parse html: we now know it can be done, but it's a pain in the ass, and specially written parsers are faster and easier to use. So, there should be no illusion that regexps are a shortcut in this situation.
At least that's my takeaway.
- pyre 15y ago> You can write a novel like tchrist did > [...] – meder Nov 20 '10 at 19:36 > That was kinda my point, actually. I > wanted to show how hard it is. – tchrist > Nov 20 '10 at 19:38 Seems that you are correctly channeling the author.
- Goladus 15y agoHe keeps saying that, but he also keeps railing on anyone who suggests that it has anything to do with HTML not being a regular language.