mb_ereg_search_regs() - mb函数(多字节字符串转化库)
mb_ereg_search_regs()
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Returns the matched part of a multibyte regular expression
说明
mb_ereg_search_regs([string $pattern[,string $option= "ms"]]): arrayReturns the matched part of a multibyte regular expression.
参数
$patternThe search pattern.
$optionThe search option. See mb_regex_set_options() for explanation.
返回值
mb_ereg_search_regs() executes the multibyte regular expression match, and if there are some matched part, it returns an array including substring of matched part as first element, the first grouped part with brackets as second element, the second grouped part as third element, and so on. It returns FALSE
on error.
注释
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
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!