Skip to content

Commit

Permalink
fix: regex for newline chars
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo23x0 committed Dec 21, 2020
1 parent e20c3a9 commit 928d450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RaccineGUI/RaccineCfg/RaccineRulesSync/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static string GetYaraDefines()

public static bool SyncContentFromUrl(string contentsUrl, string subdir)
{
String newLinePattern = "([^\r]\n)";
String newLinePattern = "([\r]?\n)";
var httpClient = new HttpClient();

Console.WriteLine("Downloading rules from " + contentsUrl);
Expand Down

0 comments on commit 928d450

Please sign in to comment.