pub fn expand_captures(template: &str, captures: &[String]) -> String
Substitute $1, $2, etc. in template with captured groups.
$1
$2
template