StringWithFlags</span> : <code class="type">string -> flags:string -> <a href="Js_re.html#TYPEt">t</a></code></pre><div class="info ">
                    <div class="not-examples">
                    Constructs a RegExp object (<a href="Js_re.html#TYPEt"><code class="code">Js_re.t</code></a>) from a string with the given <code class="code">flags</code>
<p>

See <a href="Js_re.html#VALfromString"><code class="code">Js_re.fromString</code></a>
<p>

Valid flags:
<table>
  <tr> <td>g <td>global
  <tr> <td>i <