位置: 编程技术 - 正文
推荐整理分享PHP:mb_ereg_search()的用法_mbstring函数,希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!
(PHP 4 >= 4.2.0, PHP 5)
mb_ereg_search — Multibyte regular expression match for predefined multibyte string
说明 bool mb_ereg_search ([ string $pattern [, string $option = "ms" ]] )Performs a multibyte regular expression match for a predefined multibyte string.
参数pattern
The search pattern.
optionThe search option.
返回值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 pattern is not specified, the previous one is used.
注释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_setpos()的用法_mbstring函数 mb_ereg_search_setpos(PHP4=4.2.0,PHP5)mb_ereg_search_setposSetstartpointofnextregularexpressionmatch说明boolmb_ereg_search_setpos(int$position)mb_ereg_search_setpos()setsthestartingpointofamatchform
PHP:mb_ereg_search_regs()的用法_mbstring函数 mb_ereg_search_regs(PHP4=4.2.0,PHP5)mb_ereg_search_regsReturnsthematchedpartofamultibyteregularexpression说明arraymb_ereg_search_regs([string$pattern[,string$option=ms]])Returnsthematchedpartofamult
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()的用法_mbstring函数
本文链接地址:https://www.jiuchutong.com/biancheng/275022.html 转载请保留说明!上一篇:PHP:mb_ereg()的用法_mbstring函数(php?ms=0&qgg=&_wv=3)
友情链接: 武汉网站建设