http://qs321.pair.com?node_id=519910

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Nub: Trying to use regular expressions to match any letter, provided it is a doubled letter, like balloon or subbookkeeper but not bar or zed. Neither [a-z]{2} nor \w{2} work. How would you-all do it, O wise Perl Monks?

Reason is for a fairly simple guessing game; based on the test above is foo behind the Green Glass Door or otherwise? I'm writing a script to play that game as a simple project for kicks and giggles. Your help is invaluable.

jdporter added <code> tags