S = '#\[code(?:=([a-z]+))?:3ntitvph\](.*?)\[/code:3ntitvph\]#is' R = '$this->bbcode_second_pass_code('$1', '$2')'