diff --git a/SabreTools.Matching/Paths/FilePathMatch.cs b/SabreTools.Matching/Paths/FilePathMatch.cs index eea5c83..096241f 100644 --- a/SabreTools.Matching/Paths/FilePathMatch.cs +++ b/SabreTools.Matching/Paths/FilePathMatch.cs @@ -11,7 +11,8 @@ namespace SabreTools.Matching.Paths /// Constructor /// /// String representing the search - public FilePathMatch(string needle) - : base($"{Path.DirectorySeparatorChar}{needle}", false, true) { } + /// True to match exact casing, false otherwise + public FilePathMatch(string needle, bool matchCase = false) + : base($"{Path.DirectorySeparatorChar}{needle}", matchCase, true) { } } } \ No newline at end of file