app/code/community/Nexcessnet/Turpentine/Model/Varnish/Admin.php
public function flushExpression() {
        $args = func_get_args();
        $result = array();
        foreach (Mage::helper('turpentine/varnish')->getSockets() as $socket) {
            $socketName = $socket->getConnectionString();
            try {
                call_user_func_array(array($socket, 'ban'), $args);
            } catch (Mage_Core_Exception $e) {
                $result[$socketName] = $e->getMessage();
                continue;
            }
            $result[$socketName] = true;
        }
        return $result;
    }
public function flushExpression() {
        $args = func_get_args();
        $result = array();
        foreach (Mage::helper('turpentine/varnish')->getSockets() as $socket) {
            $socketName = $socket->getConnectionString();
            try {
                call_user_func_array(array($socket, 'ban'), $args);
            } catch (Mage_Core_Exception $e) {
                $result[$socketName] = $e->getMessage();
                continue;
            }
            $result[$socketName] = true;
        }
        return $result;
    }
public function flushExpression ( ) { $ args = func_get_args ( ) ; $ result = array ( ) ; foreach ( Mage :: helper ( 'turpentine/varnish' ) -> getSockets ( ) as $ socket ) { $ socketName = $ socket -> getConnectionString ( ) ; try { call_user_func_array ( array ( $ socket , 'ban' ) , $ args ) ; } catch ( Mage_Core_Exception $ e ) { $ result [ $ socketName ] = $ e -> getMessage ( ) ; continue ; } $ result [ $ socketName ] = true ; } return $ result ; }
Flush according to Varnish expression

@param  mixed ...
@return array
Flush according to Varnish expression