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 );