From 9aa56e6ff2ca7c4b0c2cd8e46026d4382028f76e Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sat, 29 Mar 2025 08:39:29 +0000 Subject: [PATCH] cancel parenthesis in `ExtractZip` regex --- 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); }