yahtzee!
btw, this isn't my regex. Like most things of mine, they're
either cribbed, borrowed, or outright stolen.
-lv



Jeff Coleman wrote:
> Lou Vanek wrote:
> 
>>everthing old is new again.
>>you might also want to compare speeds. Yours might be faster.
>>-lv
> 
> 
> It's my first time using the profiler, but if I'm reading this 
> correctly--
> 
> It took my version 27 seconds to do 6000 word_wraps.  Your regexp 
> version did the same in 2.4 seconds :)
> 
> Jeff Coleman
>