in reply to
Escaping quotemeta() in regex
You want want to look at
File::Glob
if you're trying to get a list of files. It doesn't allow
\d
, but it does allow well known file matching expressions, such as
file?.txt
,
file*.txt
,
file[0-9].txt
and
file.{htm,html}
.
Comment on
Re: Escaping quotemeta() in regex
Select
or
Download
Code
In Section
Seekers of Perl Wisdom