StringParse¶
Parse a string using a pattern with placeholders in it.
This node is essentially the reverse of StringFormat and supports different placeholder styles. This can be used to parse for example subject or session names out of file paths. Note that, if you also happen to be iterating over multiple files, the PathIterator is probably the better tool to do this parsing. Version 0.1.0
Ports/Properties¶
string¶
Input string to parse.
- verbose name: String
- default value: None
- port type: DataPort
- value type: str (can be None)
- data direction: IN
pattern¶
String pattern for parsing. Different syntaxes are supported.
- verbose name: Pattern
- default value: None
- port type: StringPort
- value type: str (can be None)
pattern_type¶
Pattern type. The python type is modeled after Python's contemporary format string with {xxx} placeholders, the datestr type is %H%M%S style date/time format strings, and the regex type are regular expressions.
- verbose name: Pattern Type
- default value: python
- port type: EnumPort
- value type: str (can be None)
name1¶
Placeholder name 1.
- verbose name: Name1
- default value: None
- port type: StringPort
- value type: str (can be None)
out1¶
Output 1.
- verbose name: Out1
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name2¶
Placeholder name 2.
- verbose name: Name2
- default value: None
- port type: StringPort
- value type: str (can be None)
out2¶
Output 2.
- verbose name: Out2
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name3¶
Placeholder name 3.
- verbose name: Name3
- default value: None
- port type: StringPort
- value type: str (can be None)
out3¶
Output 3.
- verbose name: Out3
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name4¶
Placeholder name 4.
- verbose name: Name4
- default value: None
- port type: StringPort
- value type: str (can be None)
out4¶
Output 4.
- verbose name: Out4
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name5¶
Placeholder name 5.
- verbose name: Name5
- default value: None
- port type: StringPort
- value type: str (can be None)
out5¶
Output 5.
- verbose name: Out5
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name6¶
Placeholder name 6.
- verbose name: Name6
- default value: None
- port type: StringPort
- value type: str (can be None)
out6¶
Output 6.
- verbose name: Out6
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name7¶
Placeholder name 7.
- verbose name: Name7
- default value: None
- port type: StringPort
- value type: str (can be None)
out7¶
Output 7.
- verbose name: Out7
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name8¶
Placeholder name 8.
- verbose name: Name8
- default value: None
- port type: StringPort
- value type: str (can be None)
out8¶
Output 8.
- verbose name: Out8
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name9¶
Placeholder name 9.
- verbose name: Name9
- default value: None
- port type: StringPort
- value type: str (can be None)
out9¶
Output 9.
- verbose name: Out9
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
name10¶
Placeholder name 10.
- verbose name: Name10
- default value: None
- port type: StringPort
- value type: str (can be None)
out10¶
Output 10.
- verbose name: Out10
- default value: None
- port type: DataPort
- value type: object (can be None)
- data direction: OUT
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
- verbose name: Set Breakpoint (Debug Only)
- default value: False
- port type: BoolPort
- value type: bool (can be None)
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.
- verbose name: Metadata
- default value: {}
- port type: DictPort
- value type: dict (can be None)