php正则表达式中的非贪婪模式匹配的使用
php正则表达式中的非贪婪模式匹配的使用 通常我们会这么写: 复制 $str = "http://www.baidu/.com?url=www.sina.com/";preg_match("/http:(.*)com/", $str,...
php正则表达式中的非贪婪模式匹配的使用 通常我们会这么写: 复制 $str = "http://www.baidu/.com?url=www.sina.com/";preg_match("/http:(.*)com/", $str,...