FindFruct.indices

Returns a foreach() iterator which exposes the indices of all matches within the given content:

int count;

auto f = find ("foo");
foreach (index; f.indices("$foo&&foo*"))
++count;
assert (count is 2);
struct FindFruct
Indices
indices

Meta