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 "^mykey.*" to match all keys starting with 'mykey'.

See Java documentation for detailed regular expression syntax.