fix regex of character escaping
update