pub fn regsub(update: &mut String, re: &str, repl: impl Replacer)Available on crate features
testing only.Expand description
Substitute all re in update with repl
Note that re is processed in “multiple lines mode”
((?m) is prepended.)
Convenience wrapper around regex::Regex::replace_all.