diff --git a/Ginger/Ginger/GeneralLib/General.cs b/Ginger/Ginger/GeneralLib/General.cs index 58a467b824..2e0bdd5136 100644 --- a/Ginger/Ginger/GeneralLib/General.cs +++ b/Ginger/Ginger/GeneralLib/General.cs @@ -677,7 +677,7 @@ public static List SplitWithPaths(string input) { return []; } - var pattern = @"""[^""]*""|(?:C:\\[^ ]+(?: [^ ]+)*[^ ]+)|[^\s]+"; + var pattern = @"""[^""]*""|(?:[A-Za-z]:\\[^ ]+(?: [^ ]+)*[^ ]+)|[^\s]+"; var matches = Regex.Matches(input, pattern); List results = [];