From: Greg Millam Date: 2002-12-13T01:30:34+09:00 Subject: Re: [RCR] Global Regexp Match Mechanism (//g) On Fri, 13 Dec 2002, Austin Ziegler wrote: > It would be very nice/useful to be able to do: > > while md = /foo/g.match(foostr) > puts md.to_s > foostr = md.post_match > end > foostr.scan(/foo/) do |match| puts match[0] end > -- > austin ziegler > Sent from my Treo > -- Greg Millam walker at deafcode.com