On Sun, Aug 04, 2013 at 03:28:23PM -0400, Shawn H Corey wrote: > On Sun, 04 Aug 2013 14:13:59 -0500 > Brian Katzung <bri...@kappacs.com> wrote: > > That's an interesting idea, but I'm not sure you're accomplishing > > your stated goals. Consider that the RE /^\s*test\s*$/ is 14 > > characters and you've coded it in 91 non-white-space characters (650% > > of the original size). > The difference is between writing machine code and writing assembler. > The goal is not to create readable REs but to make it easier to create > them.
The difference is also between getting the regex right or not. The line-noise version above is case sensitive, unlike the OP's example. -- David Cantrell | Pope | First Church of the Symmetrical Internet Languages for which ISO-Latin-$n is not necessary, #1 in a series: Latin