From: Jon Fi Date: 2007-05-19T01:10:57+09:00 Subject: Re: Can't get subgroup of regex to repeat with +... what the Harry Kakueki wrote: > On 5/17/07, Jon Fi wrote: > If you want to use regular expressions, try 'scan'. > > c=" " > c.scan(/\w+=?\w+/).each {|f| p f.split("=")} > > Modify the regular expression as necessary. > > Harry Brilliant. Exactly what i was looking for. -- Posted via http://www.ruby-forum.com/.