ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  RouteWord: An Interesting Diversion
Subject:   Solver?
Date:   2003-11-27 04:46:27
From:   bazzargh
Response to: Solver?

oops - second regexp was supposed to be
next if $word=~/a[^adv]|v[^vai]|i[^ivd]|d[^dai]/


the one I posted didn't allow all the possible doubled letters.


1 to 1 of 1
1 to 1 of 1