src/Route.php
public function with(string $param, string $regex): Route{
		$this->params[$param] = str_replace('(', '(?:', $regex);
		return $this;
	}
public function with(string $param, string $regex): Route{
		$this->params[$param] = str_replace('(', '(?:', $regex);
		return $this;
	}
public function with ( string $ param , string $ regex ) : Route { $ this -> params [ $ param ] = str_replace ( '(' , '(?:' , $ regex ) ; return $ this ; }
Params match regex
@param string $param
@param string $regex
@return Route
Params match regex