位置: 编程技术 - 正文
推荐整理分享PHP:mb_ereg_search_regs()的用法_mbstring函数,希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!
(PHP 4 >= 4.2.0, PHP 5)
mb_ereg_search_regs — Returns the matched part of a multibyte regular expression
说明 array mb_ereg_search_regs ([ string $pattern [, string $option = "ms" ]] )Returns the matched part of a multibyte regular expression.
参数pattern
The search pattern.
optionThe search option.
返回值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 regex mb_ereg_search_init() - Setup string and regular expression for a multibyte regular expression match
PHP:mb_ereg_search_pos()的用法_mbstring函数 mb_ereg_search_pos(PHP4=4.2.0,PHP5)mb_ereg_search_posReturnspositionandlengthofamatchedpartofthemultibyteregularexpressionforapredefinedmultibytestring说明arraymb_ereg_search_pos([string$pattern[,st
PHP:mb_ereg_search_init()的用法_mbstring函数 mb_ereg_search_init(PHP4=4.2.0,PHP5)mb_ereg_search_initSetupstringandregularexpressionforamultibyteregularexpressionmatch说明boolmb_ereg_search_init(string$string[,string$pattern[,string$option=msr]
PHP:mb_ereg_replace()的用法_mbstring函数 mb_ereg_replace(PHP4=4.2.0,PHP5)mb_ereg_replaceReplaceregularexpressionwithmultibytesupport说明stringmb_ereg_replace(string$pattern,string$replacement,string$string[,string$option=msr])Scansstringfo
标签: PHP:mb_ereg_search_regs()的用法_mbstring函数
本文链接地址:https://www.jiuchutong.com/biancheng/275024.html 转载请保留说明!友情链接: 武汉网站建设