public static function delete($path, $case_sensitive = null)
	{
		$case_sensitive ?: \Config::get('routing.case_sensitive', true);

		// support the usual route path placeholders
		$path = str_replace(array(
			':any',
			':alnum',
			':num',
			':alpha',
			':segment',
		), array(
			'.+',
			'[[:alnum:]]+',
			'[[:digit:]]+',
			'[[:alpha:]]+',
			'[^/]*',
		), $path);

		foreach (static::$routes as $name => $route)
		{
			if ($case_sensitive)
			{
				if (preg_match('#^'.$path.'$#uD', $name))
				{
					unset(static::$routes[$name]);
				}
			}
			else
			{
				if (preg_match('#^'.$path.'$#uiD', $name))
				{
					unset(static::$routes[$name]);
				}
			}
		}
	}
public static function delete($path, $case_sensitive = null)
	{
		$case_sensitive ?: \Config::get('routing.case_sensitive', true);

		// support the usual route path placeholders
		$path = str_replace(array(
			':any',
			':alnum',
			':num',
			':alpha',
			':segment',
		), array(
			'.+',
			'[[:alnum:]]+',
			'[[:digit:]]+',
			'[[:alpha:]]+',
			'[^/]*',
		), $path);

		foreach (static::$routes as $name => $route)
		{
			if ($case_sensitive)
			{
				if (preg_match('#^'.$path.'$#uD', $name))
				{
					unset(static::$routes[$name]);
				}
			}
			else
			{
				if (preg_match('#^'.$path.'$#uiD', $name))
				{
					unset(static::$routes[$name]);
				}
			}
		}
	}
public static function delete ( $ path , $ case_sensitive = null ) { $ case_sensitive ? : \ Config :: get ( 'routing.case_sensitive' , true ) ; // support the usual route path placeholders $ path = str_replace ( array ( ':any' , ':alnum' , ':num' , ':alpha' , ':segment' , ) , array ( '.+' , '[[:alnum:]]+' , '[[:digit:]]+' , '[[:alpha:]]+' , '[^/]*' , ) , $ path ) ; foreach ( static :: $ routes as $ name => $ route ) { if ( $ case_sensitive ) { if ( preg_match ( '#^' . $ path . '$#uD' , $ name ) ) { unset ( static :: $ routes [ $ name ] ) ; } } else { if ( preg_match ( '#^' . $ path . '$#uiD' , $ name ) ) { unset ( static :: $ routes [ $ name ] ) ; } } } }
Delete one or multiple routes

@param  string
Delete one or multiple routes