From d0d16b5f939446510ae60c640c4aa8399018edbd Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 31 May 2024 19:06:17 +0200 Subject: [PATCH] UltraVNC: fix regex --- modules/UltraVNC.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/UltraVNC.php b/modules/UltraVNC.php index 01b1155..f5ca8f6 100644 --- a/modules/UltraVNC.php +++ b/modules/UltraVNC.php @@ -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; } }