Performing functions on a captured group in replaceRE

See