# File lib/mega/filelist.rb, line 118
  def exclude(*patterns)
    # TODO: check for pending
    patterns.compact.each { |pat| @exclude_patterns << pat }
    if ! @pending
      calculate_exclude_regexp
      reject! { |fn| fn =~ @exclude_re }
    end
  end