def visit_Arel_Nodes_NotEqual_with_wherex *args
      o = args.first
      right = o.right
      if right.present? and right.is_a? Regexp
        ::ActiveRecord::Base.connection.regexp_not visit(o.left), visit(right)