Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 81492
Status: open
Priority: 0/
Queue: Dist-Zilla

People
Owner: Nobody in particular
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 4.300028
Fixed in: (no value)



Subject: GatherDir uses exclude_filename as a regex, causing files to be excluded incorrectly
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.