add capture names to match results