code: function rest(root, path) {
  	if (!pathMatch(root, path)) {
  		return null;
  	}
  	var tail = path.substring(root.length);
  	return tail[0] === '/' ? tail.substring(1) : tail;
  }
docs: /*
  Returns the tail of the path after root has been matched.