Pattern matching on Selection Criteria panels
- The plus sign (+) stands for any 1 character
- The asterisk (*) stands for any, all, or no characters
The not sign (¬) stands for a negative logic test
For example, ¬ABCD matches with everything except ABCD.
The single quotation mark (‘) acts as a toggle switch
The first single quotation mark turns pattern matching off, the next turns it on again. If a text string contains a single quotation mark, it must be preceded by a single quotation mark. For example: This text is 'quoted' matches This text is ''quoted'' .
If a + or * is embedded within the pattern string and the pattern string is specified within quotation marks, the + or * values are recognized as part of the string. For example, 'ABC+D' matches only with ABC+D.
Use these wildcard characters when you want to create a pattern for values in your selection criteria. For example, assuming all error messages begin with ERR, you might want to write a Rule that fires for all error messages.
Instead of creating a Rule for every error message, you can specify a pattern of characters that the Text-ID must match: for example Text-ID===> ERR*. This pattern specifies that the Rule should be fired every time a message that begins with ERR is issued.
This section contains the following topics: