Home > Article > Backend Development > 标签-php正则表达式问题????
标签stringphp正则表达式
|]+>/"; $str = "无语hi
"; preg_match_all($pattern,$str,$matches); var_dump($matches);?>请问为什么结果是:
array (size=1) 0 => array (size=2) 0 => string '' (length=25) 1 => string 'hi
' (length=13)应该先匹配出p标签吗?