protected function compileRegularEchos($value) { $pattern = sprintf('/(@)?%s\\s*(.+?)\\s*%s(\\r?\\n)?/s', $this->contentTags[0], $this->contentTags[1]); return preg_replace_callback($pattern, array($this, 'compileRegularEchosCallback'), $value); }