forcapinre.captures_iter(text) { println!("Month: {} Day: {} Year: {}",∩[2],∩[3],∩[1]); } /* Output: * Month: 03 Day: 14 Year: 2012 * Month: 01 Day: 01 Year: 2013 * Month: 07 Day: 05 Year: 2014 */ // 替换命名捕获 letre=Regex::new(r"(?x) (?P<y>\d{...