pub fn format_paths_with_captures( paths: &[Path], captures: &HashMap<String, Vec<Path>>, ) -> String