On 28 March 2012 19:35, Andrej Mitrovic <[email protected]> wrote: > I'd like to get a list of indexes into an array that matches a character. > E.g.: > > "a foo a bar a".indexes("a") == [0, 6, 12] > > Anything like that in Phobos?
std.regex might be able to produce something like it. -- James Miller
