Manager: Parse version suffixes with decimals correctly

This commit is contained in:
Johannes Meyer 2022-02-03 17:49:29 +01:00
parent f0892799ff
commit 57e8e41089
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ class Manager
}
$operator = '=';
if (preg_match('/^([<>=]{1,2})\s*v?((?:[\d.]+)(?:\D+)?)$/', $version, $match)) {
if (preg_match('/^([<>=]{1,2})\s*v?((?:[\d.]+)(?:.+)?)$/', $version, $match)) {
$operator = $match[1];
$version = $match[2];
}