Skip to content

Commit

Permalink
Fix for EnumerateFiles() multiple filters #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Beckers committed Dec 17, 2018
1 parent e1d8cd2 commit 4d43741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MediaDevices/MediaDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ internal static string FilterToRegex(string filter)
return null;
}

StringBuilder s = new StringBuilder(Path.GetFileName(filter));
StringBuilder s = new StringBuilder(filter);
s.Replace(".", @"\.");
s.Replace("+", @"\+");
s.Replace("$", @"\$");
Expand Down

0 comments on commit 4d43741

Please sign in to comment.