Report question

Question: Replace a regular expression submatch using a function