in reply to Re: Regex: negative look aheadin thread Regex: negative look ahead
Note that
if ( ! ( $string =~ /pattern/ ) ) { [download]
can be written
if ( $string !~ /pattern/ ) { [download]
I hope this is of interest.
Cheers,
JohnGG