Renamed pr_extend_match extend_match_with_res