The existing implementation of the filepath regexp is actually a filename regexp.
This PR changes the implementation to the intended filepath regexp so that you can do regexp matches for directory components of the full file path.
Tests were updated to include a regexp test for subdirectory matching.
The existing implementation of the filepath regexp is actually a filename regexp. This PR changes the implementation to the intended filepath regexp so that you can do regexp matches for directory components of the full file path.
Tests were updated to include a regexp test for subdirectory matching.