in reply to regular expression on filenames with absolute path
Now they will match. Remember, the character class \w means a-zA-Z0-9_, which does not include ., and -./\/[-.\w]+(.txt|.doc|.pdf|.vsd|.xls|.xlt|.dot|.pot|.ppt|.mpp)$/
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