From 87db5a550fc96bd91302b1a01cff07d487d4feaf Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Wed, 12 May 2021 12:05:34 +0200 Subject: [PATCH] Tftpd64: fix regex --- modules/Tftpd32.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Tftpd32.php b/modules/Tftpd32.php index dd87891..7561a4b 100644 --- a/modules/Tftpd32.php +++ b/modules/Tftpd32.php @@ -5,8 +5,8 @@ class Tftpd32 extends PatchBase { parent::__construct('Philippe Jounin', 'Tftpd64', 'https://tftpd32.jounin.net/tftpd32_download.html'); } function check() : bool { - if ($this->fetch('https://tftpd32.jounin.net/tftpd32_news.html')) - return $this->parse('/Version ([\d\.]+)<\/td>/'); + if ($this->fetch('https://pjo2.github.io/tftpd64/')) + return $this->parse('_/[Tt]ftpd64-([\d\.]+)-setup\.exe_'); return false; } }