I think that's less efficient than:
/^(?=[smtwhfa]*$)(?!.*(.).*\1)/
but I'm too busy right now to find out.
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perlhacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;