Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: regular expressions with !by ozone (Friar) |
on Sep 14, 2006 at 14:19 UTC ( [id://572927]=note: print w/replies, xml ) | Need Help?? |
try using 'not' instead of '!', like so:
It's basically a question of operator precedence. To make your intentions clearer, you should probably use the '!~' operator:
In Section
Seekers of Perl Wisdom
|
|