classes/Ergo/Routing/Route.php
private function _getParameterPattern($template)
	{
		// support star matches
		$template = preg_replace('/\*/','.*?',$template);

		return sprintf('#^%s$#',
			preg_replace_callback(
				self::REGEX_PARAM,
				array($this, '_typePatternCallback'),
				$template
			)
		);
	}
private function _getParameterPattern($template)
	{
		// support star matches
		$template = preg_replace('/\*/','.*?',$template);

		return sprintf('#^%s$#',
			preg_replace_callback(
				self::REGEX_PARAM,
				array($this, '_typePatternCallback'),
				$template
			)
		);
	}
private function _getParameterPattern ( $ template ) { // support star matches $ template = preg_replace ( '/\*/' , '.*?' , $ template ) ; return sprintf ( '#^%s$#' , preg_replace_callback ( self :: REGEX_PARAM , array ( $ this , '_typePatternCallback' ) , $ template ) ) ; }
Gets a pattern that can be used for parsing a template
@param string $template
@return array list of
Gets a pattern that can be used for parsing a template