This topic is discussed in detail in the Perl Cookbook recipe 6.18 "Expressing AND, OR, and NOT in a Single Pattern".
In reply to Re: Matching and nonmatching multiple regexps at once
by eyepopslikeamosquito
in thread Matching and nonmatching multiple regexps at once
by Yary
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |