[EMAIL PROTECTED] wrote:
How can I compose a pattern for strings which _don't_ contain
"stuff"?

My code contains $x =~ $pattern; I can't change this. Now I must
define my $pattern to determine whether $x _doesn't_ contain
"stuff".

I've been over perlrequick and perlretut, but all examples of
"doesn't contain" use a negative operator (!~) instead of a
negative expression.

Please define "stuff". Are you talking about certain characters, a certain string, or what?

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to