7-Zip: refine regex
This commit is contained in:
parent
358fe578b3
commit
cbcb79f116
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue