Heim >Backend-Entwicklung >PHP-Tutorial >正则表达式中/i,/g,/ig,/gi,/m的区别和含义,iggi_PHP教程

正则表达式中/i,/g,/ig,/gi,/m的区别和含义,iggi_PHP教程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-12 09:03:582046Durchsuche

正则表达式中/i,/g,/ig,/gi,/m的区别和含义,iggi

正则表达式中/i,/g,/ig,/gi,/m的区别和含义

/i (忽略大小写)
/g (全文查找出现的所有匹配字符)
/m (多行查找)
/gi(全文查找、忽略大小写)
/ig(全文查找、忽略大小写)


www.bkjia.comtruehttp://www.bkjia.com/PHPjc/1077539.htmlTechArticle正则表达式中/i,/g,/ig,/gi,/m的区别和含义,iggi 正则表达式中/i,/g,/ig,/gi,/m的区别和含义 /i (忽略大小写)/g (全文查找出现的所有匹配字符)/m...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn