added translations for pattern node, changed node to use text for now

This commit is contained in:
reven
2021-11-22 15:35:01 +13:00
parent a55c5df49f
commit 384354934b
7 changed files with 85 additions and 79 deletions
+2 -3
View File
@@ -11,11 +11,10 @@ namespace FileFlows.BasicNodes.Functions
public override FlowElementType Type => FlowElementType.Logic;
public override string Icon => "fas fa-equals";
[DefaultValue(".*?")]
[RegularExpression(2)]
[DefaultValue("")]
[Text(1)]
public string Pattern { get; set; }
delegate void LogDelegate(params object[] values);
public override int Execute(NodeParameters args)
{
if (string.IsNullOrEmpty(Pattern))