pe">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/e9c6678/src/core/string.c#L354">source</a></span> <pre class="binding-text">(string/find-all patt str &amp;opt start-index)

Searches for all instances of pattern `patt` in string `str`. Returns an array of all indices of found patterns. Overlapping instances of the pattern are counted individually, meaning a byte in `str` may contribute to multiple found patterns.</pre><a href="https://janetdocs.org/core-api/s