function.mb-ereg-search-getregs.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 80 行

HTML
80
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Retrieve the result from the last multibyte regular expression match</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.mb-ereg-search-getpos.html">mb_ereg_search_getpos</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.mb-ereg-search-init.html">mb_ereg_search_init</a></div> <div class="up"><a href="ref.mbstring.html">Multibyte String Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.mb-ereg-search-getregs" class="refentry"> <div class="refnamediv">  <h1 class="refname">mb_ereg_search_getregs</h1>  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5)</p><p class="refpurpose"><span class="refname">mb_ereg_search_getregs</span> &mdash; <span class="dc-title">Retrieve the result from the last multibyte regular expression match</span></p> </div>    <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type">array</span> <span class="methodname"><b><b>mb_ereg_search_getregs</b></b></span>    ( <span class="methodparam">void</span>   )</div>  <p class="simpara">   Retrieve the result from the last multibyte regular expression match  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">This function has no parameters.</p> </div>  <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="simpara">   An <a href="language.types.array.html" class="type array">array</a>   including the sub-string of matched part by last   <a href="function.mb-ereg-search.html" class="function">mb_ereg_search()</a>,   <a href="function.mb-ereg-search-pos.html" class="function">mb_ereg_search_pos()</a>,   <a href="function.mb-ereg-search-regs.html" class="function">mb_ereg_search_regs()</a>. If there are some   matches, the first element will have the matched sub-string, the   second element will have the first part grouped with brackets,    the third element will have the second part grouped with   brackets, and so on. It returns <b><tt>FALSE</tt></b> on error;  </p> </div> <div class="refsect1 notes">  <h3 class="title">Notes</h3>    <blockquote><p><b class="note">Note</b>: The internal encoding or the character encoding specified by <a href="function.mb-regex-encoding.html" class="function">mb_regex_encoding()</a> will be used as the character encoding for this function.<br /></p></blockquote> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="function.mb-regex-encoding.html" class="function" rel="rdfs-seeAlso">mb_regex_encoding()</a></li>    <li class="member"><a href="function.mb-ereg-search-init.html" class="function" rel="rdfs-seeAlso">mb_ereg_search_init()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.mb-ereg-search-getpos.html">mb_ereg_search_getpos</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.mb-ereg-search-init.html">mb_ereg_search_init</a></div> <div class="up"><a href="ref.mbstring.html">Multibyte String Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?