From e1f016375403d4dcbb4d623274183b0c02909e7b Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Wed, 20 Jan 2021 15:33:55 +0100 Subject: [PATCH] SublimeText: Simplify regex --- modules/SublimeText3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/SublimeText3.php b/modules/SublimeText3.php index 48c000e..a5b61ba 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('/

.+Build (\d+)<\/p>/'); return false; } }