UltraVNC: fix regex

This commit is contained in:
Steffen Lange 2024-05-31 19:06:17 +02:00
parent bcdafba095
commit d0d16b5f93

View file

@ -2,11 +2,11 @@
class UltraVNC extends PatchBase {
function __construct() {
parent::__construct('UltraVNC Team', 'UltraVNC', 'https://www.uvnc.com/downloads/ultravnc.html');
parent::__construct('UltraVNC Team', 'UltraVNC', 'https://uvnc.com/downloads/ultravnc.html');
}
function check() : bool {
if ($this->fetch('https://www.uvnc.com/downloads/ultravnc.html'))
return $this->parse('/[Ll]atest.[Rr]elease.[Vv]ersion.+[Rr]elease.([\d\.]+)/u');
if ($this->fetch('https://uvnc.com/downloads/ultravnc.html'))
return $this->parse('/Latest release version: ([\d\.]+)/u');
return false;
}
}