On 4/11/2006, "Andrew Johnson" <ajohnson / cpan.org> wrote:


>Use String#scan:
>
>  arg.scan(/pattern/im) do |it|
>    # work on it here
>  end
>

Works, it's a lot of stuff to remember... again...

Thanks!