In case it's a case issue, you could try:
$file =~ m/\.jpg$/i
In reply to Re: Regular expression to list all files of type in folder
by Kenosis
in thread Regular expression to list all files of type in folder
by Phinix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |