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
Download (untitled) / with headers
text/plain 405b
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 );
Download (untitled) / with headers
text/plain 204b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.