On Sun, Aug 17, 2003 at 07:46:33PM +0900, Meino Christian Cramer wrote:
> 
> Hi,
> 
>  Searching through "Programming Ruby" I found the Perl-like "=~" for
>  matching strings against regexps but I cannot find the opposite
>  "dont match" operator ( "!~" in Perl ).
> 
>  Is there any aequivalent ?

Yes... it's !~   :-)

(Actually, a !~ b is the same as !(a =~ b), i.e. there is no !~ method as
such; in the same way that a += b is expanded to a = a + b and so there is
no += operator as such)