Checking in order of least to most frequent in English, of course.if ($somestring =~ /^(?=.*?u)(?=.*?i)(?=.*?o)(?=.*?a)(?=.*?e)/i) { print "$somestring contains all five vowels.\n"; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Re^7: $_ works, $my_variable doesn't?
by merlyn
in thread $_ works, $my_variable doesn't?
by C_T
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |