From: Michal Suchanek Date: 2010-02-10T03:48:09+09:00 Subject: Re: match/scan does not return multiple matches On 9 February 2010 19:27, Ben Bleything wrote: > On Tue, Feb 9, 2010 at 9:36 AM, Michal Suchanek wrote: >> Actually, nested capturing is also supported as you can see from the >> examples here. What is not supported is returning multiple matches for >> a group that matches multiple times. > > Are you sure it matches multiple times?  As I mentioned earlier in the > thread, I can't get it to do so. (stuff)+ matches multiple stuffs but returns only one. "stuffstuffstuff".match /^(stuff)+$/ => # Still can be nested. "stuffstuffstuff".match /^(stu(ff))+$/ => # Thanks Michal