Nexcessnet_Turpentine_Model_Varnish_Configurator_Abstract::getBaseUrlPathRegex PHP Method

getBaseUrlPathRegex() public method

ex: base_url: http://example.com/magento/ path_regex: /magento/(?:(?:index|litespeed)\.php/)?
public getBaseUrlPathRegex ( ) : string
return string
    public function getBaseUrlPathRegex()
    {
        $pattern = '^(%s)(?:(?:index|litespeed)\\.php/)?';
        return sprintf($pattern, implode('|', array_map(create_function('$x', 'return preg_quote($x,"|");'), $this->_getBaseUrlPaths())));
    }