protected function is_special_selector($type = null, $selector = null)
    {
        $selector = Phery::coalesce($selector, $this->last_selector);

        if ($selector && preg_match('/\{([\D]+)\d+\}/', $selector, $matches)) {
            if ($type === null) {
                return true;
            }

            return ($matches[1] === $type);
        }

        return false;
    }
protected function is_special_selector($type = null, $selector = null)
    {
        $selector = Phery::coalesce($selector, $this->last_selector);

        if ($selector && preg_match('/\{([\D]+)\d+\}/', $selector, $matches)) {
            if ($type === null) {
                return true;
            }

            return ($matches[1] === $type);
        }

        return false;
    }
protected function is_special_selector ( $ type = null , $ selector = null ) { $ selector = Phery :: coalesce ( $ selector , $ this -> last_selector ) ; if ( $ selector && preg_match ( '/\{([\D]+)\d+\}/' , $ selector , $ matches ) ) { if ( $ type === null ) { return true ; } return ( $ matches [ 1 ] === $ type ) ; } return false ; }
Determine if the last selector or the selector provided is an special

@param string $type
@param string $selector
@return boolean
Determine if the last selector or the selector provided is an special