Let's not print the caught exception in the case of regex_replace