Heim > Artikel > Backend-Entwicklung > php最小婚配用问号不管用
php最小匹配用问号不管用?
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --><?php $strr="<textarea> a b c asdfasdf<textarea> d e f</textarea>"; $search="/<textarea>(.*)?/is"; preg_match_all($search,$strr,$m_arr); print_r($m_arr); ?> </textarea>