On Sat, Jan 14, 2012 at 6:06 AM, Robert Klemme
<shortcutter / googlemail.com>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/