# C1.Win.C1Input.RegexOptionFlags

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_C1Input_RegexOptionFlags" data-uid="C1.Win.C1Input.RegexOptionFlags" class="text-break">RegexOptionFlags Enum
</h1>
  <div class="markdown level0 summary"><p>Used by PreValidation.RegexOptions property.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Input.html">C1.Win.C1Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_RegexOptionFlags_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
[TypeConverter(typeof(RegexOptionsConverter))]
public enum RegexOptionFlags</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
&lt;TypeConverter(GetType(RegexOptionsConverter))&gt;
Public Enum RegexOptionFlags</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_C1Input_RegexOptionFlags_ECMAScript">ECMAScript</td>
        <td><p>Enables ECMAScript-compliant behavior for the expression. This flag can be used only
in conjunction with the IgnoreCase, Multiline, and Compiled flags.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_RegexOptionFlags_ExplicitCapture">ExplicitCapture</td>
        <td><p>Specifies that the only valid captures are explicitly named or numbered groups of the form.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_RegexOptionFlags_IgnorePatternWhitespace">IgnorePatternWhitespace</td>
        <td><p>Eliminates unescaped white space from the pattern and enables comments marked with #.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_RegexOptionFlags_Multiline">Multiline</td>
        <td><p>Multiline mode. Changes the meaning of ^ and $ so they match at the beginning and end,
respectively, of any line, and not just the beginning and end of the entire string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_RegexOptionFlags_None">None</td>
        <td><p>Specifies that no options are set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_RegexOptionFlags_RightToLeft">RightToLeft</td>
        <td><p>Specifies that the search will be from right to left instead of from left to right.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_RegexOptionFlags_Singleline">Singleline</td>
        <td><p>Specifies single-line mode. Changes the meaning of the dot (.) so it matches every character (instead of every character except \n).</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
