Match "quick brown" followed by "jumps", ignoring characters in between
 * Remember "brown" and "jumps"
 * Ignore case
 *)

let re = [%re "/quick\s(brown).+?(jumps)/ig" in
let result = re |&gt; Js.Re.exec "The Quick Brown Fox Jumps Over The Lazy Dog"
</code></pre>  </pre>
                    </div>
                    </div>

                  
<pre><span id="VALtest"><span class="keyword">val</span> test</span> : <code class="type">string -> <a href="Js_re.html#TYPEt">t</a> -> bool</code></pre><div class="