protected function computeQuoteIgnoreLen($str, $maxQuoteDepth)
	{
		$remaining = $str;
		while (--$maxQuoteDepth >= 0)
		{
			$remaining = preg_replace('/^ *> ?/', '', $remaining);
		}

		return strlen($str) - strlen($remaining);
	}
protected function computeQuoteIgnoreLen($str, $maxQuoteDepth)
	{
		$remaining = $str;
		while (--$maxQuoteDepth >= 0)
		{
			$remaining = preg_replace('/^ *> ?/', '', $remaining);
		}

		return strlen($str) - strlen($remaining);
	}
protected function computeQuoteIgnoreLen ( $ str , $ maxQuoteDepth ) { $ remaining = $ str ; while ( -- $ maxQuoteDepth >= 0 ) { $ remaining = preg_replace ( '/^ *> ?/' , '' , $ remaining ) ; } return strlen ( $ str ) - strlen ( $ remaining ) ; }
Compute the amount of text to ignore at the start of a quote line

@param  string  $str           Original quote markup
@param  integer $maxQuoteDepth Maximum quote depth
@return integer                Number of characters to ignore
Compute the amount of text to ignore at the start of a quote line