Applies the replacement rule to the given input string
String? apply(String? input) => input?.replaceAll(pattern, replacementInCorrectCase);