From e118f1e4f2cd1d6bf00822ebe046a7846e76de91 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sun, 7 Mar 2021 14:30:17 +0100 Subject: [PATCH] Inkscape: fix regex --- modules/Inkscape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Inkscape.php b/modules/Inkscape.php index 8b76521..90db430 100644 --- a/modules/Inkscape.php +++ b/modules/Inkscape.php @@ -6,7 +6,7 @@ class Inkscape extends PatchBase { } function check() : bool { if ($this->fetch('https://inkscape.org/release/')) - return $this->parse('/Download Inkscape ([\d\.]+)/'); + return $this->parse('/<h1>Inkscape ([\d\.]+)<\/h1>/'); return false; } }