On Jan 3, Jon Shoberg said: >print join("\n", grep(/^010[6-9]/i, @FILES)), "\n";
Your regex can be: /^01(0[6-9]|1[0-2])/ you don't need the /i modifier, since digits aren't subject to case sensitivity. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]