protected function parseEmphasisByCharacter($character, $regexp)
	{
		$pos = $this->text->indexOf($character);
		if ($pos === false)
		{
			return;
		}

		foreach ($this->getEmphasisByBlock($regexp, $pos) as $block)
		{
			$this->processEmphasisBlock($block);
		}
	}
protected function parseEmphasisByCharacter($character, $regexp)
	{
		$pos = $this->text->indexOf($character);
		if ($pos === false)
		{
			return;
		}

		foreach ($this->getEmphasisByBlock($regexp, $pos) as $block)
		{
			$this->processEmphasisBlock($block);
		}
	}
protected function parseEmphasisByCharacter ( $ character , $ regexp ) { $ pos = $ this -> text -> indexOf ( $ character ) ; if ( $ pos === false ) { return ; } foreach ( $ this -> getEmphasisByBlock ( $ regexp , $ pos ) as $ block ) { $ this -> processEmphasisBlock ( $ block ) ; } }
Parse emphasis and strong applied using given character

@param  string $character Markup character, either * or _
@param  string $regexp    Regexp used to match the series of emphasis character
@return void
Parse emphasis and strong applied using given character