From: Michal Zacik Date: 2009-08-28T17:47:44+09:00 Subject: Re: I need a string#all_indices method--is there such a thing? Sorry, bad idea. timr wrote: > Scan gives you the matches, not the indices (which is what I need). > > >>> "this is a test for scan".scan(/t/) >>> > => ["t", "t", "t"] > > >