save-match-data

save-match-data is a Lisp macro in `subr.el'.

(save-match-data &rest BODY)

Execute the BODY forms, restoring the global value of the match data.
The value returned is the value of the last form in BODY.