This rule template can be used to create rules which will be triggered when a key matches a given regular expression.

For example, one can create a rule with the regular expression .*error.* to match all key containing "error". Note that, in order to match "error" regardless of the case, the (?i) modifier can be prepended to the expression, as in (?i).*error.*.