UltraVNC: fix regex
This commit is contained in:
parent
bcdafba095
commit
d0d16b5f93
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue