mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-06 07:20:11 -06:00
FF-1958: Fixed typo in img.DateMonth
This commit is contained in:
@@ -44,12 +44,17 @@ public class Matches : Node
|
||||
output++;
|
||||
try
|
||||
{
|
||||
// the value is what we will test
|
||||
object value;
|
||||
// first try to see if the key is a Variable, and if it is get the variables value
|
||||
if (Regex.IsMatch(match.Key, @"\{[\w\d\.-]+\}") &&
|
||||
args.Variables.TryGetValue(match.Key[1..^1], out var varValue))
|
||||
value = varValue;
|
||||
else
|
||||
{
|
||||
// else, its not a variable, but it may contain a variable
|
||||
value = args.ReplaceVariables(match.Key, stripMissing: true);
|
||||
}
|
||||
|
||||
if (args.MathHelper.IsMathOperation(match.Value))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user