public function parseProfile($text)
{
return preg_replace_callback("#\\[profile\\](.+?)\\[/profile\\]#", function ($m) {
$name = $this->extraEscapes($m[1]);
return "[profile:{$this->uid}]{$name}[/profile:{$this->uid}]";
}, $text);
}