Perhaps Path::Tiny where the children method will take a regexp (sample from an OS X box):
$ perl -MPath::Tiny=path -E 'say join( qq{\n}, path(q{/})->children(qr +/i[bn]|sr/) )' /usr /bin /sbin /Library /com.apple.TimeMachine.localsnapshots
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: Using regex in file glob ?
by Fletch
in thread Using regex in file glob ?
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |