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