def matches_mask_array(masks, strings, casemapping = :rfc1459)
      results = {}
      masks.each do |mask|
        strings.each do |string|
          if matches_mask(mask, string, casemapping)
            results[mask] ||= []
            results[mask] << string
          end
        end
      end
      return results
    end
def matches_mask_array(masks, strings, casemapping = :rfc1459)
      results = {}
      masks.each do |mask|
        strings.each do |string|
          if matches_mask(mask, string, casemapping)
            results[mask] ||= []
            results[mask] << string
          end
        end
      end
      return results
    end
Match strings to multiple IRC masks.
 @param [Array] masks The masks to match against.
 @param [Array] strings The strings to match against the masks.
 @param [Symbol] casemapping The IRC casemapping to use in the match.
 @return [Hash] Each mask that was matched will be present as a key,
   and the values will be arrays of the strings that matched.