MatchRegex
Last updated
Last updated
The MatchRegex Node allows to search a String for certain pattern, which can be given as a regular expression. The part of the String in which the search is performed can be customized with the indices of the beginning and end of the search, which are given to the Node either as Attributes or Inputs. The Node outputs the result as a Boolean, together with the index of the first apparition of the searched pattern and the number of matches.
Attribute | Type | Description |
---|---|---|
| String | The String in which the search will be performed, if none is given in the Input Socket. |
| String | The pattern that will be searched for using regular expressions, if none is given in the |
| Int | The index of |
| Int | The index of |
| Bool | Whether all the matches of |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| String | The String in which the search will be performed. |
| String | The pattern that will be searched for using regular expressions. |
| Int | The index of |
| Int | The index of |
| Bool | Whether all the matches of |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Bool | Whether |
| Int | The index of the first apparition of |
| Int | The number of matches of |
Regular expression on Wikipedia.