Salut,


$this->file_content = preg_replace('%\{include\s+?([\w./]+?)\}%i', '<?php include(\'\1\'); ?>', $this->file_content);