UltraVNC: use unicode support in re
This commit is contained in:
parent
ce92c44b48
commit
d2bbd24b5f
1 changed files with 2 additions and 4 deletions
|
|
@ -5,10 +5,8 @@ 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')) {
|
||||
$this->data = utf8_decode($this->data);
|
||||
return $this->parse('/[Ll]atest.[Vv]ersion.+[Rr]elease.([\d\.]+)/');
|
||||
}
|
||||
if ($this->fetch('https://www.uvnc.com/downloads/ultravnc.html'))
|
||||
return $this->parse('/[Ll]atest.[Vv]ersion.+[Rr]elease.([\d\.]+)/u');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue