7-Zip: refine regex

This commit is contained in:
Steffen Lange 2023-05-18 21:36:50 +02:00
parent 358fe578b3
commit cbcb79f116

View file

@ -6,7 +6,7 @@ class SevenZip extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://www.7-zip.org/download.html'))
return $this->parse('/Download 7-Zip ([\d\.]+) \(/');
return $this->parse('/Download 7-Zip ([\d\.]+) \([\d-]+\)/');
return false;
}
}