Skip to main content

expand_captures

Function expand_captures 

Source
pub fn expand_captures(template: &str, captures: &[String]) -> String
Expand description

Substitute $1, $2, etc. in template with captured groups.