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