mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-06 12:19:51 -06:00
FF-1731: Track selector
This commit is contained in:
@@ -52,7 +52,7 @@ public class Matches : Node
|
||||
value = varValue;
|
||||
else
|
||||
value = args.ReplaceVariables(match.Key, stripMissing: true);
|
||||
string strValue = value?.ToString() ?? string.Empty;
|
||||
string strValue = value?.ToString()?.Trim() ?? string.Empty;
|
||||
|
||||
if (GeneralHelper.IsRegex(match.Value))
|
||||
{
|
||||
@@ -76,12 +76,9 @@ public class Matches : Node
|
||||
return output;
|
||||
}
|
||||
|
||||
if (match.Value == strValue)
|
||||
{
|
||||
args.Logger?.ILog($"Match found '{match.Value}' = {strValue}");
|
||||
if (args.StringHelper.Matches(match.Value, match.Value))
|
||||
return output;
|
||||
}
|
||||
|
||||
|
||||
if (args.MathHelper.IsMathOperation(match.Value))
|
||||
{
|
||||
if (args.MathHelper.IsTrue(match.Value, strValue))
|
||||
|
||||
Reference in New Issue
Block a user