protected function captureTables()
	{
		unset($this->table);
		$this->tables = [];

		$this->pos = 0;
		foreach (explode("\n", $this->text) as $line)
		{
			if (strpos($line, '|') === false)
			{
				$this->endTable();
			}
			else
			{
				$this->addLine($line);
			}
			$this->pos += 1 + strlen($line);
		}
		$this->endTable();
	}
protected function captureTables()
	{
		unset($this->table);
		$this->tables = [];

		$this->pos = 0;
		foreach (explode("\n", $this->text) as $line)
		{
			if (strpos($line, '|') === false)
			{
				$this->endTable();
			}
			else
			{
				$this->addLine($line);
			}
			$this->pos += 1 + strlen($line);
		}
		$this->endTable();
	}
protected function captureTables ( ) { unset ( $ this -> table ) ; $ this -> tables = [ ] ; $ this -> pos = 0 ; foreach ( explode ( "\n" , $ this -> text ) as $ line ) { if ( strpos ( $ line , '|' ) === false ) { $ this -> endTable ( ) ; } else { $ this -> addLine ( $ line ) ; } $ this -> pos += 1 + strlen ( $ line ) ; } $ this -> endTable ( ) ; }
Capture all pipe tables in current text

@return void
Capture all pipe tables in current text