sym">peg/match</span> <span class="mdzsyn-symbol">where-are-the-dogs?</span> <span class="mdzsyn-string">"dog dog cat dog"</span>) <span class="mdzsyn-comment"># -&gt; @[0 4 12]</span>

<span class="mdzsyn-comment"># Our finder function also works any pattern, not just strings.</span>

(<span class="mdzsyn-coresym">def</span> <span class="mdzsyn-symbol">find-cats</span> (<span class="mdzsyn-symbol">finder</span> '(<span class="mdzsyn-coresym">*</span> <span class="mdzsyn-string">"c"</span> (<span class="mdz