public function parseNotice($text) { return preg_replace("#\\[(notice)\\](.*?)\\[/\\1\\]#s", "[\\1:{$this->uid}]\\2[/\\1:{$this->uid}]", $text); }