4 ms·
Most (all?) common languages use extended variety regex engines. It is really weird seeing smart people talking about this issue in the no regex works camp. I
by koide 11y ago
Most (all?) common languages use extended variety regex engines.
It is really weird seeing smart people talking about this issue in the no regex works camp.
I think it's probably because they haven't had to grab a few specific data points from websites ever.
- olavk 11y agoPossibly there is some confusion about the word "parsing". If it is just the question of scanning for some substring or pattern on a webpage, sure you can do that with a regex. But this is not what is usually considered parsing.
- koide 11y agoRight. And that confusion is probably fueled by the existence of smart (invalid html swallowing) parsers mainly used in scraping, like beautiful soup and nokogiri.