in reply to Re: Tidying and simplifying a regular expression
in thread Tidying and simplifying a regular expression

You are right, "easy to spot" was a bit of exaggeration. However, most of the time (like 90%) the augmented pattern is really not going to contain much more than or's, concatenations, multipliers, and capture groups. So one could get away with much less than a full-blown Perl parser.

  • Comment on Re^2: Tidying and simplifying a regular expression