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);
    }
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);
    }
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 ) ; }
Update for Irish names.

@param string $string

@return string
Update for Irish names .