Home >Backend Development >PHP Tutorial > 正则匹配 模式修正符 小写u的有关问题 php

正则匹配 模式修正符 小写u的有关问题 php

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:31:30948browse

正则匹配 模式修正符 小写u的问题 php
最近看到一段代码:

<br />
<?php<br />
$str = '你好,世界dd';<br />
preg_match_all('/./us', $str, $match);<br />
echo count($match[0])."<br />";  <br />
?><br />

上网查了不少资料,但对于php正则表达式中的模式修正符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