]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - lib/Test/Valgrind/Version.pm
This is 1.19
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind / Version.pm
index 749b1d60558f4859090475d23e40281b0b1876a5..d966008b2e2c8a6f83d9baf76fe90e2ceded446a 100644 (file)
@@ -9,11 +9,11 @@ Test::Valgrind::Version - Object class for valgrind versions.
 
 =head1 VERSION
 
-Version 1.17
+Version 1.19
 
 =cut
 
-our $VERSION = '1.17';
+our $VERSION = '1.19';
 
 =head1 DESCRIPTION
 
@@ -65,11 +65,11 @@ sub new {
  my $output = $args{command_output};
  my $string;
  if (defined $output) {
-  ($string) = $output =~ /^valgrind-([0-9]+(?:\.[0-9]+)*)(?!\.)/;
+  ($string) = $output =~ /^valgrind-([0-9]+(?:\.[0-9]+)*)/;
  } else {
   $string = $args{string};
   return $string if $string->$instanceof(__PACKAGE__);
-  if (defined $string and $string =~ /^([0-9]+(?:\.[0-9]+)*)(?!\.)/) {
+  if (defined $string and $string =~ /^([0-9]+(?:\.[0-9]+)*)/) {
    $string = $1;
   } else {
    $string = undef;
@@ -160,7 +160,7 @@ You can find documentation for this module with the perldoc command.
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2015 Vincent Pit, all rights reserved.
+Copyright 2015,2016 Vincent Pit, all rights reserved.
 
 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.