MS Office 2024: update regex

This commit is contained in:
Steffen Lange 2025-04-03 17:51:25 +02:00
parent 7fe3791456
commit 59421cedc4

View file

@ -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;
} }