News for hackers. Stuff that matters.
Re:Perl Incompatible Regular Expressions by loup-vaillant on Monday September 14, 2015 @05:05PM (#10217458)
(Sorry for the dismissive tone, but you apparently glossed over the algorithm I took pain to write for you. That pissed me off a little.)

PCRE is the wrong trade-off, not worth the backward compatibility. The world will be a better place when people stop to use them. I don't care what real programs do, real programs are wrong.

You need to understand that PCRE are not regular expressions. They're top down parsers.

Let that sink in for a moment. PCRE are actually top-down parsers.

By using the syntax of regular expression, PCRE are less readable than they could be, and their full power comes of as incredibly contrived. If they were called Perl Compatible Parsing Expression Grammars (PCPEG), and used an actual PEG syntax, I wouldn't object.

If you need to parse a regular grammar, use an actual regular expression engine. If you need something more powerful, then you may consider top down parsing. Just don't be shy about it.

Re:Perl Incompatible Regular Expressions by brudgers on Monday September 14, 2015 @09:04PM (#10218412)
Obviously, one of us has learned something since the ancestor comment. Hopefully it's more than how to move goalposts.