set replace pattern change