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