This deprecated node splits an input set into two outputs based upon whether a designated list of data pattern expressions matches a given string.
Split the PatternList by the PatternListDelimiter, and use each pattern to search within the InputString, which is also split by the InputStringDelimiter.
For example: there is a field called Features, which is a separated list of features. You want to search for any records which have a feature of "AutoSave" or "AutoLoad".
You would set the properties:
- InputString='Features'
- InputStringDelimiter=:
- PatternList=AutoSave,AutoLoad
- PatternListDelimiter=,
And any records which have either feature will be output on the first output and all others will be output on the second.
Properties
InputString
Specify the expression to search over. This expression should result in a string value.
A value is required for this property.
InputStringDelimiter
Optionally specify one or more delimiting characters if InputString contains multiple values.
The default is to specify no delimiters.
PatternList
Specify the pattern or list of patterns to use to search the InputString. This is a pattern as used for the Script regex functions.
A value is required for this property.
PatternListDelimiter
Optionally specify one or more delimiting characters if PatternList contains multiple values.
The default is to specify no delimiters.
IgnoreCase
Optionally specify whether the patterns will be case insensitive.
The default value is True.
ExactMatchOnly
Optionally specify whether only items from the pattern list which exactly match an item from the InputString will match (equivalent to searching for ^item$ instead of item)
The default value is False.
Inputs and outputs
Inputs: in1.
Outputs: true, false.