You might also want save-match-data here.