in reply to Why machine-generated solutions will never cease to amaze me

Ir is never too late to point out a mistake. :-)

/foo|(bar)?|rat/ is not logically equivalent to /(foo|bar|rat)?/. They both match every possible string, but they will put different things in $1 and $&.

  • Comment on Re: Why machine-generated solutions will never cease to amaze me