pub fn replace( text: &str, regex: &str, replacement: String, ) -> Result<String, InvalidPatternSyntaxError>