fn substitute_vars(
    msg: &str,
    vars: &BTreeMap<String, String>,
    ignore_prefix: &Option<String>,
    regex_escape: bool
) -> Result<String, Error>
Expand description

Substituted ${}-delimited variables from vars into msg