regex_transformer library Null safety

Transforms text by taking capture groups matched by a RegExp and outputting them as plain text and/or evaluating them as expressions, as defined by an output template.

Classes

RegexTransformer
A RegExp paired with an output template that matches input text with the RegExp and returns a new string based on the template with the capture groups matched by the RegExp filled in.

Extensions

RegExpTransformers
Adds the transform and transformAll methods from RegexTransformer to RegExp.
StringTransformers
Adds the transform and transformAll methods from RegexTransformer to String.