libs/ReadingBuffer/Line.php
public function pregGet( string$pattern, /*int|string*/$match=0 ):string
	{
		preg_match($pattern,ltrim($this->content,"\t"),$matches);
		return $matches[$match]??'';
	}
public function pregGet( string$pattern, /*int|string*/$match=0 ):string
	{
		preg_match($pattern,ltrim($this->content,"\t"),$matches);
		return $matches[$match]??'';
	}
public function pregGet ( string $ pattern , /*int|string*/ $ match = 0 ) : string { preg_match ( $ pattern , ltrim ( $ this -> content , "\t" ) , $ matches ) ; return $ matches [ $ match ] ?? '' ; }
Matching a preg pattern and return the all or one of groups of matchment.

@access public

@param  string       $pattern
@param  int | string $match   Group index or name

@return string
Matching a preg pattern and return the all or one of groups of matchment .