关于模式匹配
$this->returnMatchResult ?
preg_match_all($pattern,$subject,$matches):$
$this->isMatch=preg_match($pattern,$subject)===1;
return $this->getRegexResult;
老师,这段代码不太懂,能帮忙解释下吗
$this->returnMatchResult ?
preg_match_all($pattern,$subject,$matches):$
$this->isMatch=preg_match($pattern,$subject)===1;
return $this->getRegexResult;
老师,这段代码不太懂,能帮忙解释下吗
2016-05-30
举报