News for hackers. Stuff that matters.
Re:The true power of regular expressions (2012) by justinator on Sunday October 14, 2018 @06:28PM (#18215886)
> People saying "Regexes can't match HTML, use an html library" are wrong to say regexes are incapable of it, but they're right to say to use a library meant for the job.

Plot twist: the html library is built upon regex's (at least in part).

Re:The true power of regular expressions (2012) by marcosdumay on Sunday October 14, 2018 @09:11PM (#18216701)
Every parser is partially built upon regexes. You have to go all the way until Haskell, Prolog or such languages before you get better options than regexes to build them.

But they are not built solely of regexes. They always have added control structures that complement regexes on those place they are worst.