RE:Re: grep utility

2001-09-17 Thread Brett W. McCoy
On Tue, 18 Sep 2001, Teresa Raymond wrote: > Just wondering about the exclamation mark here: > > > > @UNLOCKED = grep(!/LOCKED/g, @SAME); > > Would this be equivalent to using !~/LOCKED/g ? The ! is negating the regular expression's boolean value -- if the regular expression matches, it returns

RE:Re: grep utility

2001-09-17 Thread Teresa Raymond
Just wondering about the exclamation mark here: > > @UNLOCKED = grep(!/LOCKED/g, @SAME); Would this be equivalent to using !~/LOCKED/g ? --- - Teresa Raymond - - [EMAIL PROTECTED] - - http://www.mariposanet.com - --- --