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

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

WBOY
Release: 2016-06-13 12:31:30
Original
902 people have browsed it

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

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

上网查了不少资料,但对于php正则表达式中的模式修正符u实在有些不明白,求解啊……

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template