docs: function pathMatch(root, path) {
  	var len = root.length;
  	if (root[len-1] === '/') {
  		root = root.substring(0, --len - 1);
  	}
  	return path.substring(0, len) === root && (path.length <= len || path[len] === '/');
  }