pub fn expand_string_with_values<F, S>( s: &str, get_value: F, ) -> Result<String, ExpandStringError<'_>>where F: Fn(&str) -> Option<S>, S: Display,