def validate(language_list)
      language_list.each do |l|
        matches_language = @languages.any? { |language| language.match("^#{l}") }
        raise "No language match for #{l}" unless matches_language
      end
    end
def validate(language_list)
      language_list.each do |l|
        matches_language = @languages.any? { |language| language.match("^#{l}") }
        raise "No language match for #{l}" unless matches_language
      end
    end
Make sure that each language specification matches at least one
 language.