Closed LiuHD closed 3 years ago
public function removeHead() { $html = preg_replace('/<head.+?>.+<\/head>/is','<head></head>',$this->html); $this->setHtml($html); return $this->ql; }
如题,在字符串较长时,preg_replace返回为空 可能是由于pcre.backtrack_limit 限制的问题
如题,在字符串较长时,preg_replace返回为空 可能是由于pcre.backtrack_limit 限制的问题