Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andydandy74 committed Oct 11, 2024
1 parent 0c25e1e commit 742bbd6
Show file tree
Hide file tree
Showing 6 changed files with 346 additions and 387 deletions.
110 changes: 57 additions & 53 deletions nodes/3.x/Regex.CompileRegularExpression.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"Name": "String",
"Type": "string",
"Value": "",
"Description": "Creates a string."
"Description": "Erstellt eine Zeichenfolge.",
"SelectedIndex": 0
}
],
"Outputs": [],
Expand All @@ -37,7 +38,7 @@
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
},
{
"ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels",
Expand Down Expand Up @@ -94,7 +95,7 @@
}
],
"Replication": "Disabled",
"Description": "Makes a new list out of the given inputs"
"Description": "Erstellt eine neue Liste aus den angegebenen Eingaben."
},
{
"ConcreteType": "CoreNodeModels.Logic.If, CoreNodeModels",
Expand Down Expand Up @@ -141,7 +142,7 @@
}
],
"Replication": "Disabled",
"Description": "Conditional statement"
"Description": "Bedingungsanweisung"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
Expand All @@ -153,7 +154,7 @@
{
"Id": "e6f9a7dd952949498bdddf5a4d4db679",
"Name": "",
"Description": "Value of expression at line 1",
"Description": "Wert des Ausdrucks in Zeile 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -162,15 +163,15 @@
{
"Id": "2fa2273648f54fc5acba219e81c6d3f6",
"Name": "",
"Description": "Value of expression at line 2",
"Description": "Wert des Ausdrucks in Zeile 2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
"Description": "Ermöglicht die direkte Erstellung von DesignScript-Code."
},
{
"ConcreteType": "CoreNodeModels.FromObject, CoreNodeModels",
Expand Down Expand Up @@ -199,7 +200,7 @@
}
],
"Replication": "Disabled",
"Description": "Convert an object to a string representation."
"Description": "Konvertiert ein Objekt in eine Zeichenfolge."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction, DynamoCore",
Expand All @@ -211,7 +212,7 @@
{
"Id": "85d67d63d7704f69ad89107c329e0b8a",
"Name": "separator",
"Description": "String to be inserted between joined strings.\n\nstring",
"Description": "Die zwischen den verbundenen Zeichenfolgen einzufügende Zeichenfolge\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -220,7 +221,7 @@
{
"Id": "09e92c937a5f42d8a0fcf4729317ab07",
"Name": "string0",
"Description": "Strings to be joined into a single string.\n\nstring[]",
"Description": "Die zu einer einzigen Zeichenfolge zu verbindenden Zeichenfolgen\n\nstring[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -230,16 +231,16 @@
"Outputs": [
{
"Id": "977215d9e591439bb5ced3ac99741ac6",
"Name": "str",
"Description": "A string made from the list of strings including the separator character.",
"Name": "string",
"Description": "Eine aus der Liste von Zeichenfolgen erstellte Zeichenfolge einschließlich Trennzeichen",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Concatenates multiple strings into a single string, inserting the given separator between each joined string.\n\nString.Join (separator: string, strings: string[]): string"
"Description": "Verkettet mehrere Zeichenfolgen zu einer einzigen Zeichenfolge, und fügt dabei das angegebene Trennzeichen zwischen den einzelnen verbundenen Zeichenfolgen ein.\n\nString.Join (separator: string, strings: string[]): string"
},
{
"ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels",
Expand All @@ -259,7 +260,7 @@
}
],
"Replication": "Disabled",
"Description": "Creates a string."
"Description": "Erstellt eine Zeichenfolge."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
Expand All @@ -270,7 +271,7 @@
{
"Id": "063d6f9691184c68807c68b7be6056c8",
"Name": "list",
"Description": "List to get the first item from.\n\nvar[]..[]",
"Description": "Liste, deren erstes Element abgerufen werden soll\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -281,15 +282,15 @@
{
"Id": "6d98b9e3aa9b4c8a9677bd05520dfd48",
"Name": "item",
"Description": "First item in the list.",
"Description": "Das erste Element in der Liste",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Returns the first item in a list.\n\nList.FirstItem (list: var[]..[]): var[]..[]"
"Description": "Gibt das erste Element in einer Liste zurück.\n\nList.FirstItem (list: var[]..[]): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -315,12 +316,13 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
"NodeType": "PythonScriptNode",
"Code": "import clr\r\nimport re\r\n\r\nregexstring = IN[0]\r\nflags = IN[1]\r\n# process flags\r\nif flags == \"1111\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE|re.LOCALE|re.DOTALL|re.MULTILINE)\r\nelif flags == \"1110\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE|re.LOCALE|re.DOTALL)\r\nelif flags == \"1101\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE|re.LOCALE|re.MULTILINE)\r\nelif flags == \"1100\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE|re.LOCALE)\r\nelif flags == \"1011\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE|re.DOTALL|re.MULTILINE)\r\nelif flags == \"1010\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE|re.DOTALL)\r\nelif flags == \"1001\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE|re.MULTILINE)\r\nelif flags == \"1000\":\r\n\tthisexp = re.compile(regexstring, re.IGNORECASE)\r\nelif flags == \"0111\":\r\n\tthisexp = re.compile(regexstring, re.LOCALE|re.DOTALL|re.MULTILINE)\r\nelif flags == \"0110\":\r\n\tthisexp = re.compile(regexstring, re.LOCALE|re.DOTALL)\r\nelif flags == \"0101\":\r\n\tthisexp = re.compile(regexstring, re.LOCALE|re.MULTILINE)\r\nelif flags == \"0100\":\r\n\tthisexp = re.compile(regexstring, re.LOCALE)\r\nelif flags == \"0011\":\r\n\tthisexp = re.compile(regexstring, re.DOTALL|re.MULTILINE)\r\nelif flags == \"0010\":\r\n\tthisexp = re.compile(regexstring, re.DOTALL)\r\nelif flags == \"0001\":\r\n\tthisexp = re.compile(regexstring, re.MULTILINE)\r\nelse:\r\n\tthisexp = re.compile(regexstring)\r\nOUT = thisexp",
"Engine": "CPython3",
"VariableInputPorts": true,
"Id": "d13ba887e2634fb7a142912c5952ee2b",
"Inputs": [
Expand Down Expand Up @@ -355,7 +357,7 @@
}
],
"Replication": "Disabled",
"Description": "Runs an embedded IronPython script."
"Description": "Führt ein eingebettetes Python-Skript aus."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -381,7 +383,7 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -407,7 +409,7 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -433,7 +435,7 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -459,7 +461,7 @@
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
"Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
}
],
"Connectors": [
Expand Down Expand Up @@ -535,18 +537,20 @@
}
],
"Dependencies": [],
"NodeLibraryDependencies": [],
"Author": "None provided",
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"IsVisibleInDynamoLibrary": false,
"Version": "2.0.1.5055",
"Version": "2.12.1.8246",
"RunType": "Manual",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"Name": "Hintergrundvorschau",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
Expand All @@ -559,141 +563,141 @@
},
"NodeViews": [
{
"ShowGeometry": true,
"Name": "Output",
"Id": "79e28ed510cb448b9bd5e1c700e5870e",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Output",
"ShowGeometry": true,
"Excluded": false,
"X": 1583.34810748649,
"Y": 509.892677713216
},
{
"ShowGeometry": true,
"Name": "List.Create",
"Id": "3f0c6075fe574059bf5c071576f1dfc7",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "List.Create",
"ShowGeometry": true,
"Excluded": false,
"X": 124.348107486493,
"Y": 559.892677713216
},
{
"ShowGeometry": true,
"Name": "If",
"Id": "bc6b9123fd0b445d91b9a48c591ce533",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "If",
"ShowGeometry": true,
"Excluded": false,
"X": 341.348107486493,
"Y": 623.892677713216
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "1c22bab46467467894ebd4a736f8c014",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Code Block",
"ShowGeometry": true,
"Excluded": false,
"X": 124.348107486493,
"Y": 722.319344379883
},
{
"ShowGeometry": true,
"Name": "String from Object",
"Id": "e7b004b4822149ca8b2f182c489c7236",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "String from Object",
"ShowGeometry": true,
"Excluded": false,
"X": 563.348107486493,
"Y": 623.892677713216
},
{
"ShowGeometry": true,
"Name": "String.Join",
"Id": "dafab7b259ad47299d6c416cc56c6987",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "String.Join",
"ShowGeometry": true,
"Excluded": false,
"X": 782.348107486493,
"Y": 568.892677713216
},
{
"ShowGeometry": true,
"Name": "String",
"Id": "6612389a97524d78bf7f83beadb3b25e",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Name": "String",
"ShowGeometry": true,
"Excluded": false,
"X": 563.348107486493,
"Y": 539.892677713216
},
{
"ShowGeometry": true,
"Name": "List.FirstItem",
"Id": "8a0237b9f0284a22b6d00c9795bc1712",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "List.FirstItem",
"ShowGeometry": true,
"Excluded": false,
"X": 1018.34810748649,
"Y": 568.892677713216
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "5f5a08a9a3a7496b840a3c6f92f4b58a",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": 1018.34810748649,
"Y": 476.892677713216
},
{
"ShowGeometry": true,
"Name": "Python Script",
"Id": "d13ba887e2634fb7a142912c5952ee2b",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Python Script",
"ShowGeometry": true,
"Excluded": false,
"X": 1361.34810748649,
"Y": 509.892677713216
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "158f96c4e96141b0a839de90c6e6d9d6",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": -680.651892513507,
"Y": 451.892677713216
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "1a6bc288a0d54cf88f777fcde0f65702",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": -680.651892513507,
"Y": 543.892677713216
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "39940b6ed619409787b46a97f89ac8ef",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": -680.651892513507,
"Y": 653.892677713216
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "5669d89c692f4bfcac2033238032ab75",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": -680.651892513507,
"Y": 745.892677713216
Expand Down
Loading

0 comments on commit 742bbd6

Please sign in to comment.