Note: This feature is currently in beta and is available only to early adopters.
All Compliance condition Condition types support three match modes:
...
Match mode determines how the order of the Condition input lines or regular expressions affects evaluation of the condition Condition against the selected sourceSource.
Mode | Order required | Content allowed between matches |
|---|---|---|
Loose | No | Yes |
Sequential | Yes | Yes |
Strict | Yes | No |
...
Suppose the Condition type is "Source contains" and the Condition input is:
| Code Block | ||
|---|---|---|
| ||
interface Ethernet1 ip address 10.0.0.1/24 |
...
The table below shows the Condition evaluation result status for each match mode using the example source and condition Condition input:
Match mode | Condition Status | Explanation |
|---|---|---|
Loose | Successful | Both lines exist in the source. |
Sequential | Successful | The lines appear in the correct order. |
Strict | Failed | The "description Uplink" line appears between them. |
...