You should get better results if you change the regex in your grep to
my @localfiles=grep/^file-15a_62_200405.+\.txt$/i readdir LOCALDIR;
As for a regex tutorial,
perldoc perlretut
should give you a pretty good start.
In reply to Re: Simple Regular Expression Help Needed
by thundergnat
in thread Simple Regular Expression Help Needed
by PerlBear
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |