a href="https://janetdocs.org/core-api/peg%2fcompile">Community Examples</a></div><hr><div class="binding"><span id="peg/find" class="binding-sym">peg/find</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/e9c6678/src/core/peg.c#L1915">source</a></span> <pre class="binding-text">(peg/find peg text &amp;opt start &amp; args)

Find first index where the peg matches in text. Returns an integer, or nil if not found.</pre><a href="http