日期:2014-05-17 浏览次数:20501 次
$str = 'aabab'; $pattern1 = '/a.*b/'; //匹配出aabab $pattern2 = '/a.*?b/'; //匹配出aab