pub fn replace_pairs(input: &str, constant: &[(&str, &str)]) -> String
Replaces constants represented as a tuple array. Each first element of the tuple replaces each second element with the help of the regex crate.