php正则匹配问题,怎么不出来结果
正则匹配php
$contents=''; preg_match_all('/ | 如上写法匹配结果为空。请问有什么题? $contents=''; preg_match_all('/width="20%"/', $contents, $result); print_r($result); 这中方法可以出来结果,请问是怎么会回事?
/php/1338.htmlwww.phpzy.comtrue/php/1338.htmlTechArticlephp正则匹配问题,怎么不出来结果 正则匹配php $contents=' '; preg_match_all('/ 如上写法匹配结果为空。请问有什么题? $contents=' '; preg_match_all('/width="20%"/', $contents, $result); print_r($result); 这中...
|
|
PHP之友评论