pub fn replace_simple<F>(s: &str, f: F) -> Result<String, ConfError>where F: 'static + Fn(&str) -> String,