This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
A pattern is made up of a number of possible values to match and an optional result.
For example possible matches for the Roman numeral IX (or 9) could be
IX |
ix |
viiii |
VIIII |
If a result is used, the data is changed to the result in subsequent calculations (though the data stored in the raw data file remains the same).
If the result for the match for Roman numeral IX was 9, then using the pattern on a variable would convert any of the four matches to 9.
Defining matches
The match for a pattern can be:
Defining components
A match component can only be used in the pattern where it is defined. It consists of:
Defining results
A result can be any text you enter, or a named component of the pattern.
If you do not enter a result for a pattern, the results of any components included in the pattern will be used.
Patterns are defined using the patterns dialog.
For information on how to use patterns, see Introduction to patterns.
|
See Also |