Library/Homebrew/extend/os/mac/utils/bottles.rb
def find_altivec_tag(tag)
        return unless tag.to_s =~ /(\w+)_(g4|g4e|g5)$/

        altivec_tag = "#{Regexp.last_match(1)}_altivec".to_sym
        altivec_tag if key?(altivec_tag)
      end
# This allows generic Altivec PPC bottles to be supported in some
# formulae, while also allowing specific bottles in others; e.g.,
# sometimes a formula has just :tiger_altivec, other times it has
# :tiger_g4, :tiger_g5, etc.
This allows generic Altivec PPC bottles to be supported in some
formulae, while also allowing specific bottles in others; e.g.,
sometimes a formula has just :tiger_altivec, other times it has
:tiger_g4, :tiger_g5, etc.
This allows generic Altivec PPC bottles to be supported in some formulae while also allowing specific bottles in others ; e . g . sometimes a formula has just : tiger_altivec other times it has : tiger_g4 : tiger_g5 etc .
def find_altivec_tag(tag)
        return unless tag.to_s =~ /(\w+)_(g4|g4e|g5)$/
        altivec_tag = "#{Regexp.last_match(1)}_altivec".to_sym
        altivec_tag if key?(altivec_tag)
      end
def find_altivec_tag ( tag ) return unless tag . to_s =~ / ( \w +)_(g4|g4e|g5)$ / altivec_tag = "#{Regexp.last_match(1)}_altivec" . to_sym altivec_tag if key? ( altivec_tag ) end
This allows generic Altivec PPC bottles to be supported in some
formulae, while also allowing specific bottles in others; e.g.,
sometimes a formula has just :tiger_altivec, other times it has
:tiger_g4, :tiger_g5, etc.
This allows generic Altivec PPC bottles to be supported in some formulae while also allowing specific bottles in others ; e . g . sometimes a formula has just : tiger_altivec other times it has : tiger_g4 : tiger_g5 etc .
tag