function get_route_segments(route) {
	return route.slice(1).split('/').filter(affects_path);
}
Splits a route id into its segments, removing segments that
don't affect the path (i.e. groups). The root route is represented by `/`
and will be returned as `['']`.
@param {string} route
@returns string[]