Re : Yet Another Software Challenge

Did the first riddle also, very nice way to revise regular expressions!

I'll leave the second one for later but reading the description, I am puzzled by a definition:

def cypher(text, keyword, direction=1):
    if direction < 0: direction = -1
    else: direction = 1It looks like the direction will never alternate between 1 and -1. I suppose this is a bug, isn't it?
Thanks anyway, your riddles have a "I-want-to-know-whats-next" flavor.

Eric.

···

---------------------------------------------------------------------------
Eric TORREBORRE
tel: +81 (0)90 5580 3280
e-mail: etorreborre@yahoo.com / etorreborre@docomo.ne.jp
blog: http://etorreborre.blogspot.com
---------------------------------------------------------------------------

----- Message d'origine ----
De : Thierry <machicoane@gmail.com>
À : ruby-talk ML <ruby-talk@ruby-lang.org>
Cc : machicoane@computer.org
Envoyé le : Lundi, 14 Mai 2007, 22h20mn 05s
Objet : Yet Another Software Challenge

For those interested in <b>programming riddles</b>, I would like to
announce a new programming challenge I'm just launching at
http://software.challenge.googlepages.com

This challenge is in its early stage and thus set to be continuously
improved.

I would be especially interested in your comments and feedbacks about
this initiative and its relevance.

Enjoy!

Thierry

      _____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail