In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jose Alves De Castro) writes: >On Thu, 2004-05-27 at 11:21, Ramprasad A Padmanabhan wrote: >> But to think of it there is one hitch >> >> suppose my string is 'god' >> >> Assume >> $word = "good" >> $r = qr/^[god]+$/ >> >> >> then $r would match $word. Can you think of a good work around ? > >Oh... you want one of each letter only, is that it? Oh boy...
Nothing in the original request suggests this requirement. There's no reason words for a typing tutorial shouldn't have repeated letters. -- Peter Scott http://www.perldebugged.com/ *** NEW *** http://www.perlmedic.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>