@override String scrub(String input) => input .replacingOccurrences( matchingPattern: pattern, replacementProvider: replacementFunction ?? (match) => ' ', ) .trim();