Skip Menu |

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 25198
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

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

Bug Information
Severity: Normal
Broken in: 0.69
Fixed in: (no value)



Subject: Better regex for matching version numbers
I've been using cpants_lint.pl to check my distros automatically before I upload them, but it doesn't like developer release versions, even though it reports "Remove all letters from the version number. If you want to mark a release as a developer release, use the scheme 'Module-1.00_01'" I update Distname.pm with a more sophisticated regex: return 1 if ($v=~ /\A v? \d+ (?:\.\d+)* (?:_\d+)? \z/xi );
Thanks, I've added this to the svn version which will be releases on Monday. I think I've never encountered this problem because when testing all of CPAN, I'm delibertaly skipping all developer releases.