JanetDocsPlaygroundI'm feeling luckyGitHub sign in

peg/find-all



    cfunction

    (peg/find-all peg text &opt start & args)

    Find all indexes where the peg matches in text. Returns an array of
    integers.


1 exampleSign in to add an example
Loading...
(peg/find-all ':d "hi 1 bye 2") # => @[3 9]
pepePlayground