/replace-all">regex/replace-all</a> <a href="#regex/source">regex/source</a> </p><hr><div class="binding"><span id="regex/compile" class="binding-sym">regex/compile</span> <span class="binding-type">function</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/641b27238e073c5f5f963ec16c79b51643d3e66f//spork/regex.janet#L137">source</a></span> <pre class="binding-text">(compile pattern)

Compile a subset of regex to a PEG if pattern is a string. If pattern is a PEG, will return