# File lib/mime/types.rb, line 388
388:     def Types.[](type_string)
389:       if type_string.kind_of?(Regexp)
390:         matches = []
391:         TYPE_LIST.each_key { |k| matches << TYPE_LIST[k] if k =~ type_string }
392:         matches.flatten!
393:       elsif type_string.kind_of?(MIME::Type)
394:         type_string
395:       else
396:         mime = MIME::Type.simplified(type_string)
397:         TYPE_LIST[mime]
398:       end
399:     end