Content-Type:text/html; charset=UTF-8 php5.6以上会自动加 Content-Type:text/html; charset=UTF-8 PHP里 “/”没转义导致正则匹配出错