Skip to content

Commit

Permalink
regx enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
GokulBothe99 committed Nov 6, 2024
1 parent 75b5873 commit f1fd282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ginger/Ginger/GeneralLib/General.cs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ public static List<string> SplitWithPaths(string input)
{
return [];
}
var pattern = @"""[^""]*""|(?:C:\\[^ ]+(?: [^ ]+)*[^ ]+)|[^\s]+";
var pattern = @"""[^""]*""|(?:[A-Za-z]:\\[^ ]+(?: [^ ]+)*[^ ]+)|[^\s]+";
var matches = Regex.Matches(input, pattern);
List<string> results = [];

Expand Down

0 comments on commit f1fd282

Please sign in to comment.