Demangling a search-and-replace error.