[Omaha.pm] source code from 1992

Andy Lester andy at petdance.com
Tue Mar 20 14:57:45 PDT 2007


On Mar 20, 2007, at 4:55 PM, Jay Hannah wrote:

> The perl version of the script below is:
>
>    /^\d{7}$/
>
> What's my code reduction ratio there?

If you feel guilty, change it to

     /^\d\d\d\d\d\d\d$/

so it's longer.

--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance






More information about the Omaha-pm mailing list