libs/ReadingBuffer/Line.php
public function pregMap( string$pattern, callable$callback ):array
	{
		preg_match_all($pattern,ltrim($this->content,"\t"),$matches);
		return array_map($callback,...$matches);
	}
public function pregMap( string$pattern, callable$callback ):array
	{
		preg_match_all($pattern,ltrim($this->content,"\t"),$matches);
		return array_map($callback,...$matches);
	}
public function pregMap ( string $ pattern , callable $ callback ) : array { preg_match_all ( $ pattern , ltrim ( $ this -> content , "\t" ) , $ matches ) ; return array_map ( $ callback , ... $ matches ) ; }
Multiple matching a preg pattern and map result with a callback.

@access public

@param  string   $pattern
@param  callable $callback

@return array
Multiple matching a preg pattern and map result with a callback .