mb_ereg_search() - mb函数(多字节字符串转化库)
mb_ereg_search()
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Multibyte regular expression match for predefined multibyte string
说明
mb_ereg_search([string $pattern[,string $option= "ms"]]): boolPerforms a multibyte regular expression match for a predefined multibyte string.
参数
$patternThe search pattern.
$optionThe search option. See mb_regex_set_options() for explanation.
返回值
mb_ereg_search() returns TRUE
if the multibyte string matches with the regular expression, or FALSE
otherwise. The string for matching is set by mb_ereg_search_init(). If$patternis not specified, the previous one is used.
注释
Note:mb_regex_encoding()指定的内部编码或字符编码将会当作此函数用的字符编码。
参见
mb_regex_encoding()
Set/Get character encoding for multibyte regexmb_ereg_search_init()
Setup string and regular expression for a multibyte regular expression match
mb_ereg_search & subpatterns use loop:
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!