Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: regex to find vowels in anyorderby SuicideJunkie (Vicar) |
on Dec 20, 2011 at 00:17 UTC ( [id://944322]=note: print w/replies, xml ) | Need Help?? |
As JavaFan and ww are discussing, your post seems to imply that you think the anded if does not short circuit when the first vowel is not found. That is not the case. A loop to put each vowel into regexes sequentially would have the advantage of not hardcoding the vowels, though it would do at least as much work.
In Section
Seekers of Perl Wisdom
|
|