original_string: private static function updateIrish($string)
      {
          if ( ! self::$options['irish']) return $string;
  
          if (mb_ereg_match('.*?\bMac[A-Za-z]{2,}[^aciozj]\b', $string) || mb_ereg_match('.*?\bMc', $string)) {
              $string = self::updateMac($string);
          }
  
          return mb_ereg_replace('Macmurdo', 'MacMurdo', $string);
      }
code: private static function updateIrish($string)
      {
          if ( ! self::$options['irish']) return $string;
  
          if (mb_ereg_match('.*?\bMac[A-Za-z]{2,}[^aciozj]\b', $string) || mb_ereg_match('.*?\bMc', $string)) {
              $string = self::updateMac($string);
          }
  
          return mb_ereg_replace('Macmurdo', 'MacMurdo', $string);
      }
code_tokens: private static function updateIrish ( $ string ) { if ( ! self :: $ options [ 'irish' ] ) return $ string ; if ( mb_ereg_match ( '.*?\bMac[A-Za-z]{2,}[^aciozj]\b' , $ string ) || mb_ereg_match ( '.*?\bMc' , $ string ) ) { $ string = self :: updateMac ( $ string ) ; } return mb_ereg_replace ( 'Macmurdo' , 'MacMurdo' , $ string ) ; }
docstring: Update for Irish names.
  
  @param string $string
  
  @return string
docstring_tokens: Update for Irish names .