Report question

Question: python regular expression replacing part of a matched string