public function extraEscapes($text) { return str_replace(['[', ']', '.', ':'], ['[', ']', '.', ':'], $text); }