From fd280ba2e83e93a08f4313616ed71b4e1e2a4af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sun, 11 Feb 2024 17:43:51 -0800 Subject: [PATCH] add space to filename regex --- internal/modlist/modlist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/modlist/modlist.go b/internal/modlist/modlist.go index 1164532..ed67e6e 100644 --- a/internal/modlist/modlist.go +++ b/internal/modlist/modlist.go @@ -10,7 +10,7 @@ import ( ) // fileRegex matches -const fileRegex string = "([\\w-]+)_([0-9.]+).zip" +const fileRegex string = "([\\w\\s-]+)_([0-9.]+)\\.zip" /// Modlist types and related functions.