From 89f54f9f35c864b4ede72452997d25a4bdc4fb89 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Mon, 8 Aug 2022 17:14:59 +0200 Subject: [PATCH] DOSBox-X: fix version regex --- modules/DOSBoxX.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/DOSBoxX.php b/modules/DOSBoxX.php index c447bfb..9c54e81 100644 --- a/modules/DOSBoxX.php +++ b/modules/DOSBoxX.php @@ -6,7 +6,7 @@ class DOSBoxX extends PatchBase { } function check() : bool { if ($this->fetch_json('https://api.github.com/repos/joncampbell123/dosbox-x/releases/latest')) - return $this->parse_json('tag_name', '/dosbox-x-v(.+)/'); + return $this->parse_json('tag_name', '/-v(.+)$/'); return false; } }