in reply to Expressing Intent
in thread Regexs on Hash Keys

FWIW, I became intrigued by all the suggestions here and found that Benchmark reveals Maclir's code to be the fastest (by about 30% on my system).

Philosophy can be made out of anything. Or less -- Jerry A. Fodor