Detailed Description of Regex Matching
This step extracts values from the input expression
and tries to apply them to regular expressions in order to extract
values to output columns. It works according to the following steps:
- The step
evaluates the input expression and tries to "match" the result value
with one of the defined regular expressions.
- Matching
against regular expressions is done one by one in the same order
as it is defined in the configuration. Matching stops when the first
match is found.
- If a match
is found, then the first possible match of the regular expression
with the input value is evaluated and the divided data is sent to
the predefined output columns. Format of the output data is given
by the properties of the step.
- If no match
is found, i.e., the value from the input column doesn't match the
regular expression (the value can't correctly be divided into output
columns), a scoring flag is set and processing of the current record
is stopped
For information about regular expressions see the Regular expressions
section on Expressions page.