Home  >  Article  >  php教程  >  preg_match的isU代表什么意义,preg_matchisu代表

preg_match的isU代表什么意义,preg_matchisu代表

WBOY
WBOYOriginal
2016-06-13 08:53:27999browse

preg_match的isU代表什么意义,preg_matchisu代表

正则后面的/(.*)/isU  ,“isU”参数代表什么意思?
这是正则中的修正符.
i是同时查找大小写字母,
s是圆点(.)匹配所有字符,包括换行符.如果没有设定s,则不包括换行符.
U是反转了匹配数量的值使其不是默认的重复,而变成在后面跟上“?”才变得重复

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn