# File utils.rb, line 266 def vetManifest( filelist, antimanifest=ANITMANIFEST ) origLength = filelist.length message "Vetting manifest..." for regex in antimanifest if $VERBOSE message "\n\tPattern /#{regex.source}/ removed: " + filelist.find_all {|file| regex.match(file)}.join(', ') end filelist.delete_if {|file| regex.match(file)} end message "removed #{origLength - filelist.length} files from the list.\n" return filelist end