RegEx Matcher

The RegEx Matcher Flowgear Evaluator enables you to match and return all occurrences of the specified Regular Expression pattern in an expression.

Properties

Input

Type: Multiline Text Input
The input expression to evaluate.

Pattern

Type: String Input
The Regular Expression pattern.

Match

Type: String Output
The current match.

TotalMatches

Type: Int32 Output
The total number of matches located.

CurrentMatch

Type: Int32 Output
The index of the match that was most recently returned.

Remarks

This Node will fire the Match output for each match on the specified pattern. Once all matches have been returned, the Finished output will fire.

Examples

This example illustrates how a Regular Expression matches the first instance of a percentage sign enclosed in square brackets.

Input: hello world [2] [200] [8] [%1c] [d]
Pattern: \[(%\w+)\]
Match: [%1c]
TotalMatch: 1
CurrentMatch: 1

See Also

RegEx Match One