MS Office 2024: update regex
This commit is contained in:
parent
7fe3791456
commit
59421cedc4
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ class MSOffice2024 extends PatchBase {
|
||||||
function check() : bool {
|
function check() : bool {
|
||||||
if ($this->fetch('https://docs.microsoft.com/en-us/officeupdates/update-history-office-2024')) {
|
if ($this->fetch('https://docs.microsoft.com/en-us/officeupdates/update-history-office-2024')) {
|
||||||
$this->str_crop('retail-versions-of-office-2024', '</table>');
|
$this->str_crop('retail-versions-of-office-2024', '</table>');
|
||||||
return $this->parse('/Version ([\d]+ \(Build [\d\.]+\))/');
|
return $this->parse('/Version ([\d]+ \((Build )?[\d\.]+\))/');
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue