mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-21 12:39:30 -06:00
trimming the pattern in the delete source directory flow element
This commit is contained in:
@@ -161,7 +161,7 @@ public class DeleteSourceDirectory : Node
|
||||
return true;
|
||||
try
|
||||
{
|
||||
if (System.Text.RegularExpressions.Regex.IsMatch(x, pattern,
|
||||
if (System.Text.RegularExpressions.Regex.IsMatch(x, pattern.Trim(),
|
||||
System.Text.RegularExpressions.RegexOptions.IgnoreCase))
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user