Manager: Parse version suffixes with decimals correctly
This commit is contained in:
parent
f0892799ff
commit
57e8e41089
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue