On Oct 4, 2004, at 12:25 PM, Warren Brown wrote:

> I *finally* had a chance to play with this.  On the premise of "better
> late than never"...
>
> My solution is pretty bare-bones, but uses regular expressions to
> "simplify" the deck manipulations.  I didn't keep the suit/rank 
> notation
> of the description except for the jokers being A and B.  The rest of 
> the
> cards are simply their numeric values.  Of course this means that the
> "deck" string contains a newline, so all regular expressions involving 
> a
> '.' have to be multiline.

Clever trick.  This is similar to how the Perl version works which you 
can find on the official site I linked to in the summary.  Thanks for 
sending this in.

James Edward Gray II