Get rid of a now-unnecessary regex replacement