CondRegExpr Attribute

Value Description
Type Strings
Default (empty)
Description This attribute specifies a regular expression that is used to determine if a rule hit should be retained for future use. Each rule hit is checked to see if it matches the regular expression. Matching rule hits are retained, non-matching rule hits are dropped.

Example

<CondRegExpr>eCS@Store@[0-9]+-.*</CondRegExpr>

Matches:
- eCS@Store@01234-Any other characters, even special chars like '"'
- eCS@Store@0- 
- eCS@Store@987-0
- …
Note: Recording rules use the regular expression implementation as described in Structure of Regular Expressions. Additionally, some characters need special encoding since recording rules are stored in XML format. For more information, see Writing XML Files.