A rule that executes a regex, transforming the match result.
When the expression matches, onMatch will be given the RegExpExecArray and return the final info object.
A rule that executes a regex, transforming the match result.