Hi --

On Fri, 28 Apr 2006, A Fisherman wrote:

> sea =<<END_OF_SEA
>
>> <}}}}*>           ><}}}}*>        ><}}}}*>
>       ><}}}}*>
>                ><}}}}*>    ><}}}}*>
>   ><}}}}*>
>
> END_OF_SEA
>
> fish_caught = sea.scan(%><}}}}*>)
> "I got #{fish_caught.size} fish!" # => "I got 7 fish!"

But does it scale?


David

-- 
David A. Black (dblack / wobblini.net)
Ruby Power and Light, LLC (http://www.rubypowerandlight.com)

"Ruby for Rails" PDF now on sale!  http://www.manning.com/black
Paper version coming in early May!