><code class="code">let maybeMatches = "banana" |&gt; Js.String.match_ [[%re "/na+/g"]]
</code></pre>  </pre>
                    </div>
                    </div>

                  <hr width="100%">
<div class="type-declaration">
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>
</div>
<div class="info ">
                    <div class="not-examples">
                    the RegExp object<br>
 
                    </div>
                    
                