Citrix Workspace app: fix regex

This commit is contained in:
Steffen Lange 2024-08-16 15:11:07 +02:00
parent f56ef2d3a8
commit a9e08eccf1

View file

@ -7,7 +7,7 @@ class CitrixWorkspaceAppLTSR extends PatchBase {
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.citrix.com/downloads/workspace-app/workspace-app-for-windows-long-term-service-release/workspace-app-for-windows-LTSR-Latest.html')) if ($this->fetch('https://www.citrix.com/downloads/workspace-app/workspace-app-for-windows-long-term-service-release/workspace-app-for-windows-LTSR-Latest.html'))
return $this->parse('/<p>Version: ([\d\.]+)(\([\d]+\))?<\/p>/'); return $this->parse('/<p>Version: ([\d\.]+)( \([\d\.]+\))?<\/p>/');
return false; return false;
} }
} }