docs: function isTargetPath(srcPath, pathTest) {
    return !srcPath ||
      (Array.isArray(pathTest) ? pathTest : [pathTest]).some(function(test) {
        return test && (test instanceof RegExp ? test.test(srcPath) : srcPath.indexOf(test) === 0);
      });
  }