Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GatherDir uses exclude_filename as a regex, causing files to be excluded incorrectly [rt.cpan.org #81492] #694

Open
rjbs opened this issue Jul 3, 2021 · 0 comments

Comments

@rjbs
Copy link
Owner

rjbs commented Jul 3, 2021

https://rt.cpan.org/Ticket/Display.html?id=81492

For example, try excluding MANIFEST while including MANIFEST.SKIP. 
Because the match is done as an unanchored regex, the latter will be 
incorrectly excluded. If exclude_filename is really going to be a regex, 
then what's the point of match? To match the behaviour described in the 
docs, the match must be against the whole filename.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant