Think about Loose Coupling | |
PerlMonks |
Re: regular expression on filenames with absolute pathby ioannis (Abbot) |
on Nov 05, 2005 at 10:32 UTC ( [id://505963]=note: print w/replies, xml ) | Need Help?? |
Now they will match. Remember, the character class \w means a-zA-Z0-9_, which does not include ., and -. This assumes that the general logic is correct. Here, we only got the strings to match, in the spirit of the original regex.
In Section
Seekers of Perl Wisdom
|
|