fn regexp_replace<'a>( source: &'a str, pattern: &str, replacement: &str, flags_opt: OptionalArg<&str>, ) -> Result<Cow<'a, str>, EvalError>