            <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
<p>

Regex literals (<code class="code">[%re "/.../"]</code>) should generally be preferred, but
<code class="code">fromString</code> is very useful when you need to insert a string into a regex.<br>
 
                    </div>
                     <div class="examples">
                    <pre class="example"> <pre class="codepre"><code cla