protected function _compileComments($value)
    {
        $pattern = sprintf('/%s--(.*?)--%s/s', $this->_escapedTags[0], $this->_escapedTags[1]);

        return preg_replace($pattern, '<?php /*$1*/ ?> ', $value);
    }
protected function _compileComments($value)
    {
        $pattern = sprintf('/%s--(.*?)--%s/s', $this->_escapedTags[0], $this->_escapedTags[1]);

        return preg_replace($pattern, '<?php /*$1*/ ?> ', $value);
    }
protected function _compileComments ( $ value ) { $ pattern = sprintf ( '/%s--(.*?)--%s/s' , $ this -> _escapedTags [ 0 ] , $ this -> _escapedTags [ 1 ] ) ; return preg_replace ( $ pattern , '<?php /*$1*/ ?> ' , $ value ) ; }
Compile Sword comments into valid PHP.

@param string $value

@return string
Compile Sword comments into valid PHP .