protected function doBlockQuotes($text)
{
$text = preg_replace_callback('/
( # Wrap whole match in $1
(?>
^[ ]*>[ ]? # ">" at the start of a line
.+\\n # rest of the first line
(.+\\n)* # subsequent consecutive lines
\\n* # blanks
)+
)
/xm', array(&$this, '_doBlockQuotes_callback'), $text);
return $text;
}