<span class='inline_code'>null</span> is returned, otherwise true. <div class='code_block'><span class='keyword'>local</span> re = <span class='keyword'>regexcompile</span>(<span class='string'>"([0-9]+)"</span>)
<span class='keyword'>if</span> (<span class='keyword'>regexmatch</span>(<span class='string'>"abc123xyz"</span>)) {
    <span class='keyword'>print</span>(<span class='string'>"found"</span>)
}
</div></div></div><div id='31' class='function'>regexcapture<div class='desc'>Captures matches in a prev