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
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.