LB\RegExpr Attribute

Value Description
Type Strings
Default (empty)
Description This attribute specifies a regular expression for searching rule hits. Each substring of an HTTP response that matches the regular expression marks the beginning of a rule hit. When searching matching substrings, the attributes CaseSensitive and IgnoreWhiteSpaces are not used.

Examples

<LB>
  <RegExpr>name *= *[&quot;']</RegExpr>
</LB>

Matches:
 - name="
 - name = "
 - name= '
 - name   ='
 - ...
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.