gives the same results as++$seen{lc($_)} for split /\s+/, $zipFile; if ($seen{this} && $seen{$that}) { .... }
if ($zipFile =~ /\bthis\b/i && $zipFile =~ /\bthat\b/i) { .... }
In reply to Re: pattern matching words in any order
by ikegami
in thread pattern matching words in any order
by daveatmcafee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |