From: Josh Cheek Date: 2012-01-14T21:51:57+09:00 Subject: Re: negative grep --f46d043c064428138d04b67c725f Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jan 14, 2012 at 6:06 AM, Robert Klemme wrote: > > It's impossible because > > - you cannot change behavior of ! > You can do this (I'm not advocating it), but IDK how you would actually negate it. class Regexp def !@ /some sort of negation of #{source}/ end end abc = /abc/ !abc # => /some sort of negation of abc/ --f46d043c064428138d04b67c725f--