From: "David A. Black" Date: 2009-02-17T12:12:46+09:00 Subject: Re: regex does not contain - or no match Hi -- On Tue, 17 Feb 2009, Sergio Ruiz wrote: > okay, for some reason, i am not getting this.. i am feeling very > stupid.. > > i am trying to find a case where the regex does NOT match.. > > i have tried: > > string !=~/regex/ > > but this doesn't seem to work.. string !~ /regex/ David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) Ruby Training Atlanta! April 1-3, http://www.entp.com/training/atlanta09