I want to capture *.txt files that begin with a lower-case letter.Anchor the pattern:
my @files = grep ( /^[a-z].+\.txt/, readdir($dh));
In reply to Re: regex to capture files that start with a lowercase letter
by toolic
in thread regex to capture files that start with a lowercase letter
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |