<?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 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.mb-regex-set-options.php',
    1 => 'mb_regex_set_options',
    2 => 'mbregex işlevleri i&ccedil;in &ouml;ntanımlı se&ccedil;enekleri tanımlar/d&ouml;nd&uuml;r&uuml;r',
  ),
  'up' => 
  array (
    0 => 'ref.mbstring.php',
    1 => '&Ccedil;ok baytlı Dizge İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.mb-regex-encoding.php',
    1 => 'mb_regex_encoding',
  ),
  'next' => 
  array (
    0 => 'function.mb-rtrim.php',
    1 => 'mb_rtrim',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/mbstring/functions/mb-regex-set-options.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mb-regex-set-options" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mb_regex_set_options</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mb_regex_set_options</span> &mdash; <span class="dc-title">mbregex işlevleri için öntanımlı seçenekleri tanımlar/döndürür
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.mb-regex-set-options-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mb_regex_set_options</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">$seçenekler</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="simpara">
   Çok baytlı düzenli ifade işlevleri için <code class="parameter">seçenekler</code>
   dizgesiyle belirtilen örtanımlı seçenekleri tanımlar.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mb-regex-set-options-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">seçenekler</code></dt>
     <dd>
      <p class="para">
       Tanımlanacak seçenekler. Her karakterin bir seçeneğe karşılık geldiği
       bir dizge olmalıdır. Kip belirtmek için, kip karakteri sonuncu karakter
       olmalıdır. Çok sayıda seçenek olabilir ama tek bir kip belirtilebilir.
      </p>
      <table class="doctable table">
       <caption><strong>Düzenli ifade seçenekleri</strong></caption>
       
        <thead>
         <tr>
          <th>Seçenek</th>
          <th>Anlamı</th>
          <th>Sürüm Bilgisi</th>
         </tr>

        </thead>

        <tbody class="tbody">
         <tr>
          <td>i</td>
          <td>Belirsiz eşleşme etkin olur</td>
          <td class="empty">&nbsp;</td>
         </tr>

         <tr>
          <td>x</td>
          <td>Genişletilmiş kalıp biçimi etkin olur</td>
          <td class="empty">&nbsp;</td>
         </tr>

         <tr>
          <td>m</td>
          <td><code class="literal">&#039;.&#039;</code> satırsonları ile eşleşir</td>
          <td class="empty">&nbsp;</td>
         </tr>

         <tr>
          <td>s</td>
          <td><code class="literal">&#039;^&#039;</code> -&gt; <code class="literal">&#039;\A&#039;</code>, <code class="literal">&#039;$&#039;</code> -&gt; <code class="literal">&#039;\Z&#039;</code></td>
          <td class="empty">&nbsp;</td>
         </tr>

         <tr>
          <td>p</td>
          <td><code class="literal">m</code> ve <code class="literal">s</code> seçenekleri ile aynı</td>
          <td class="empty">&nbsp;</td>
         </tr>

         <tr>
          <td>l</td>
          <td>En uzun eşleşmeyi bulur</td>
          <td class="empty">&nbsp;</td>
         </tr>

         <tr>
          <td>n</td>
          <td>Boş eşleşmeler yok sayılır</td>
          <td class="empty">&nbsp;</td>
         </tr>

         <tr>
          <td>e</td>
          <td><span class="function"><a href="function.eval.php" class="function">eval()</a></span> sonucu kod</td>
          <td>PHP 7.1.0 ve sonrasında kullanımı önerilmiyor.
           PHP 8.0.0&#039;da kaldırılmıştır.</td>
         </tr>

        </tbody>
       
      </table>

      <blockquote class="note"><p><strong class="note">Bilginize</strong>: 
       <p class="para">
        <span class="function"><strong>mb_regex_set_options()</strong></span> etkinse
        <code class="literal">&quot;e&quot;</code> seçeneği etkisizdir.
        <span class="function"><a href="function.mb-ereg-replace.php" class="function">mb_ereg_replace()</a></span> veya
        <span class="function"><a href="function.mb-eregi-replace.php" class="function">mb_eregi_replace()</a></span> ile kullanılır.
       </p>
      </p></blockquote>
      <table class="doctable table">
       <caption><strong>Düzenli ifade sözdizimi kipleri (yalnıca biri)</strong></caption>
       
        <thead>
         <tr>
          <th>Kip</th>
          <th>Anlamı</th>
         </tr>

        </thead>

        <tbody class="tbody">
         <tr>
          <td>j</td>
          <td>Java (Sun java.util.regex)</td>
         </tr>

         <tr>
          <td>u</td>
          <td>GNU regex</td>
         </tr>

         <tr>
          <td>g</td>
          <td>grep</td>
         </tr>

         <tr>
          <td>c</td>
          <td>Emacs</td>
         </tr>

         <tr>
          <td>r</td>
          <td>Ruby</td>
         </tr>

         <tr>
          <td>z</td>
          <td>Perl</td>
         </tr>

         <tr>
          <td>b</td>
          <td>POSIX Temel regex</td>
         </tr>

         <tr>
          <td>d</td>
          <td>POSIX Genişletilmiş regex</td>
         </tr>

        </tbody>
       
      </table>

     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mb-regex-set-options-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Önceki seçenekler. <code class="parameter">seçenekler</code> belirtilmemişse
   veya <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> ise, geçerli seçenekleri içeren bir dizge ile döner.
  </p>
 </div>


  <div class="refsect1 changelog" id="refsect1-function.mb-regex-set-options-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
      <code class="parameter">seçenekler</code> belirtilmemişse veya <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> ise, artık
      <em>önceki</em> seçenekleri içeren bir dizge dönüyor.
      Evvelce, <em>geçerli</em> seçenekler dönerdi.
      </td>
     </tr>

     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">seçenekler</code> artık <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> olabiliyor.
      </td>
     </tr>

     <tr>
      <td>8.0.0</td>
      <td>
       <code class="literal">&quot;e&quot;</code> seçeneği kaldırıldığından artık
       <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> istisnası oluşturuyor.
      </td>
     </tr>

     <tr>
      <td>7.1.0</td>
      <td>
       <code class="literal">&quot;e&quot;</code> seçeneğinin kullanımı önerilmediğinden artık
       <strong><code><a href="errorfunc.constants.php#constant.e-deprecated">E_DEPRECATED</a></code></strong> hatası veriyor.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.mb-regex-set-options-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.mb-split.php" class="function" rel="rdfs-seeAlso">mb_split()</a> - &Ccedil;ok baytlı bir dizgeyi d&uuml;zenli ifade ile par&ccedil;alara ayırır</span></li>
    <li><span class="function"><a href="function.mb-ereg.php" class="function" rel="rdfs-seeAlso">mb_ereg()</a> - D&uuml;zenli ifadeyi &ccedil;ok baytlı karakter desteğiyle eşleştirir</span></li>
    <li><span class="function"><a href="function.mb-eregi.php" class="function" rel="rdfs-seeAlso">mb_eregi()</a> - Harf b&uuml;y&uuml;kl&uuml;ğ&uuml;ne duyarsız &ccedil;ok baytlı d&uuml;zenli ifade eşleştirmesi
  uygular</span></li>
   </ul>
  </p>
 </div>


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