From: Bil Kleb Date: 2004-04-04T00:59:21+09:00 Subject: Re: [newbie] How do I match a regex multiple times? Robo wrote: > When I use String#match, it only seems to match the regex pattern once. How > do I tell it to match the pattern as many times as possible? puts 'robo ruler ruby'.scan(/r\w+/) robo ruler ruby Regards, -- Bil Kleb, Hampton, Virginia