Fixed breakage from using bad regexes in replace.