From e8f7cabd83e86ea94af9f366be6a255b16b439db Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Thu, 22 Feb 2018 18:02:41 +0300 Subject: [PATCH] Fix regex to extract minor versions --- authentic-init.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentic-init.pm b/authentic-init.pm index ea74540fa..f455c3daf 100644 --- a/authentic-init.pm +++ b/authentic-init.pm @@ -1036,7 +1036,7 @@ sub get_version sub get_version_full { my ($version, $beta) = @_; - ($version) = $version =~ /([0-9]+[.][0-9]+(?:-alpha[\d]+|-beta[\d]+|-RC[\d]+|))/; + ($version) = $version =~ /([0-9]+[.][0-9]+(?:.\d+|-alpha[\d]+|-beta[\d]+|-RC[\d]+|))/; if ($version =~ /beta/ && $beta) { return undef;