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(T)
Indices
indices
(
const(T)[] content
)

Meta