Hi --

On Thu, 27 Apr 2006, Ruby Quiz wrote:

> It's important to remember that this is the Regular Expression definition of
> "words", including digit characters and the underscore.  That's not a perfect
> match for the quiz task, but was a popular choice nonetheless.
>
> Now, I did say *all* words are scrambled and that is what I meant.  A run of
> four or more punctuation characters is a word, and the middle punctuation would
> be scrambled.  In practice, this is rare enough to be a minor issue.

"Are you kiddin'?!" he exclaimed :-)

I thought some of the solutions addressed these problems, didn't they,
with [^\W\d_] and such?


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!