Operator Syntax
The pattern element must contain the text of a valid parseable regular expression as
defined by Javadoc
The rewrite element must contain the text of a valid rewrite rule. This is a string
where each $n where n is an integer starting at 1 is a capturing group in the regular expression.
Result document
The result document is of the following structure:
<regex>
<matches>true</matches>
<rewrite>Mambo is black</rewrite>
<group>Mambo</group>
<group>dog</group>
</regex>