Once a pattern is completed, you can test it to see how it will work with your email and the result it would produce.
If you are not familiar with variables or Security Policies creation please read this articles first
Variable overview
Testing the patterns
- Click on "Test pattern" button.
- Enter a text string to test the matchers.
- Click on "Test" button.
- If the string does not match you will see a text at the botton saying that the string has no match and will be converted to the previously set value, in this case 'noMatch'.
- If there's a match you'll see a result divided in three sections
- The search criteria used to get that match and the resulting convertion type.
- The resulting type of the matched element.
- The group of elements found by the pattern (Group ${0} is the entire string).
- The search criteria used to get that match and the resulting convertion type.
- If the string does not match you will see a text at the botton saying that the string has no match and will be converted to the previously set value, in this case 'noMatch'.
Tips:
- To test another pattern just click on "Clear" button next to the Value you were testing, enter a text string in another one and click on "Test" button.
- The order stablishes which pattern will test first, it can be changed by drag and drop them using their handles.
If you want to test multiple patterns that match the same email message (i.e.: pattern 1: matches {Subject} and pattern 2: matches {Subject}) they will be tested at the same time regardless of the order.
Comments