a href="Js_re.html#TYPEresult">result</a> -> string <a href="Js.html#TYPEnullable">Js.nullable</a> array</code></pre><div class="info ">
                    <div class="not-examples">
                    an array of the match and captures, the first is the full match and the remaining are the substring captures<br>
 
                    </div>
                    
                    </div>

                  
<pre><span id="VALmatches"><span class="keyword">val</span> matches</span> : <code class="type"><a