<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.mbstring.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.mb-ereg-search-regs.php',
    1 => 'mb_ereg_search_regs',
    2 => 'Retourne le segment de cha&icirc;ne trouv&eacute; par une expression rationnelle multioctets',
  ),
  'up' => 
  array (
    0 => 'ref.mbstring.php',
    1 => 'Fonctions sur les cha&icirc;nes de caract&egrave;res multioctets',
  ),
  'prev' => 
  array (
    0 => 'function.mb-ereg-search-pos.php',
    1 => 'mb_ereg_search_pos',
  ),
  'next' => 
  array (
    0 => 'function.mb-ereg-search-setpos.php',
    1 => 'mb_ereg_search_setpos',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/mbstring/functions/mb-ereg-search-regs.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mb-ereg-search-regs" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mb_ereg_search_regs</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mb_ereg_search_regs</span> &mdash; <span class="dc-title">Retourne le segment de chaîne trouvé par une expression rationnelle multioctets</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.mb-ereg-search-regs-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mb_ereg_search_regs</strong></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$pattern</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$options</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Retourne le segment de chaîne trouvé par une expression rationnelle multioctets.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mb-ereg-search-regs-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">pattern</code></dt>
     <dd>
      <p class="para">
       Le masque de recherche.
      </p>
     </dd>
    
    
     <dt><code class="parameter">options</code></dt>
     <dd>
      <p class="para">
       L&#039;option de recherche. Pour plus d&#039;explications, consulter <span class="function"><a href="function.mb-regex-set-options.php" class="function">mb_regex_set_options()</a></span>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mb-ereg-search-regs-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   <span class="function"><strong>mb_ereg_search_regs()</strong></span> exécute l&#039;expression rationnelle
   <code class="parameter">pattern</code>, et, si un segment de chaîne correspond,
   elle le retourne dans un tableau, dont le premier élément est le
   segment de chaîne trouvé, le deuxième le contenu
   de la première parenthèse capturante, le troisième
   le contenu de la seconde parenthèse capturante, etc.
   La fonction retourne <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> en cas d&#039;erreur.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.mb-ereg-search-regs-changelog">
  <h3 class="title">Historique</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.0.0</td>
       <td>
        <code class="parameter">pattern</code> et <code class="parameter">options</code> sont désormais nullable.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.mb-ereg-search-regs-notes">
  <h3 class="title">Notes</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para">L&#039;encodage interne ou l&#039;encodage
    des caractères spécifié par la fonction <span class="function"><a href="function.mb-regex-encoding.php" class="function">mb_regex_encoding()</a></span> sera utilisé
    comme encodage de caractères pour cette fonction.</p></p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mb-ereg-search-regs-seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.mb-regex-encoding.php" class="function" rel="rdfs-seeAlso">mb_regex_encoding()</a> - D&eacute;finit/R&eacute;cup&egrave;re l'encodage des caract&egrave;res pour les expressions r&eacute;guli&egrave;res multioctets</span></li>
    <li><span class="function"><a href="function.mb-ereg-search-init.php" class="function" rel="rdfs-seeAlso">mb_ereg_search_init()</a> - Configure les cha&icirc;nes et les expressions r&eacute;guli&egrave;res pour le support des caract&egrave;res multioctets</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>