module/Customize/src/Grid/Customize/Model/Exporter.php
protected function getUrlPattern()
    {
        if ( $this->urlPattern )
        {
            return $this->urlPattern;
        }

        $domains = iterator_to_array( $this->getDomainList() );

        if ( empty( $domains ) )
        {
            $domains = array( 'localhost' );
        }

        return $this->urlPattern = '(|(https?:)?//([^/]+\.)?('
             . implode( '|', array_map( 'preg_quote', $domains ) )
             . ')(:\d+)?)';
    }
protected function getUrlPattern()
    {
        if ( $this->urlPattern )
        {
            return $this->urlPattern;
        }

        $domains = iterator_to_array( $this->getDomainList() );

        if ( empty( $domains ) )
        {
            $domains = array( 'localhost' );
        }

        return $this->urlPattern = '(|(https?:)?//([^/]+\.)?('
             . implode( '|', array_map( 'preg_quote', $domains ) )
             . ')(:\d+)?)';
    }
protected function getUrlPattern ( ) { if ( $ this -> urlPattern ) { return $ this -> urlPattern ; } $ domains = iterator_to_array ( $ this -> getDomainList ( ) ) ; if ( empty ( $ domains ) ) { $ domains = array ( 'localhost' ) ; } return $ this -> urlPattern = '(|(https?:)?//([^/]+\.)?(' . implode ( '|' , array_map ( 'preg_quote' , $ domains ) ) . ')(:\d+)?)' ; }
Get url pattern

@return  string
Get url pattern