From dbdd0e37d6cb6f57d591982ed5e08615be533480 Mon Sep 17 00:00:00 2001 From: Matt <97983689+bluepilledgreat@users.noreply.github.com> Date: Sat, 29 Mar 2025 09:00:02 +0000 Subject: [PATCH] Cancel parenthesis in `ExtractZip` regex (#4968) --- Bloxstrap/Bootstrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index bfde105..1531fbe 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -1525,7 +1525,7 @@ namespace Bloxstrap var regexList = new List(); foreach (string file in files) - regexList.Add("^" + file.Replace("\\", "\\\\") + "$"); + regexList.Add("^" + file.Replace("\\", "\\\\").Replace("(", "\\(").Replace(")", "\\)") + "$"); fileFilter = String.Join(';', regexList); }