UltraVNC: fix regex again
This commit is contained in:
parent
0b40cc5f94
commit
ce92c44b48
1 changed files with 4 additions and 2 deletions
|
|
@ -5,8 +5,10 @@ class UltraVNC extends PatchBase {
|
|||
parent::__construct('UltraVNC Team', 'UltraVNC', 'https://www.uvnc.com/downloads/ultravnc.html');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://www.uvnc.com/downloads/ultravnc.html'))
|
||||
return $this->parse('/[Dd]ownload [Uu]ltra[Vv][Nn][Cc] ([\d\.]+)/');
|
||||
if ($this->fetch('https://www.uvnc.com/downloads/ultravnc.html')) {
|
||||
$this->data = utf8_decode($this->data);
|
||||
return $this->parse('/[Ll]atest.[Vv]ersion.+[Rr]elease.([\d\.]+)/');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue