Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Can't find Unicode property definition "A"by ikegami (Patriarch) |
on Sep 30, 2009 at 17:49 UTC ( [id://798417]=note: print w/replies, xml ) | Need Help?? |
You're treating $root_dir as a regex pattern, but I doubt that's what it contains. Use quotemeta (directly or via \Q\E) to convert arbitrary text into a pattern that matches the text.
(Simplified and sped up the pattern by removing needless captures and factoring the common prefix out of the alternation.)
In Section
Seekers of Perl Wisdom
|
|