From bfb8dbd9ad48fc636033f428262a545717c00a8e Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Thu, 21 Jan 2021 16:36:38 +0100 Subject: [PATCH] SublimeText: exact string match --- modules/SublimeText3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/SublimeText3.php b/modules/SublimeText3.php index a5b61ba..d8bfe3d 100644 --- a/modules/SublimeText3.php +++ b/modules/SublimeText3.php @@ -7,7 +7,7 @@ class SublimeText3 extends PatchBase { } function check() : bool { if ($this->fetch('https://www.sublimetext.com/3')) - return $this->parse('/

.+Build (\d+)<\/p>/'); + return $this->parse('/

Version:<\/i> Build (\d+)<\/p>/'); return false; } }