@tanstack/router-core 1.129.2 → 1.129.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1645,7 +1645,7 @@ class RouterCore {
1645
1645
  return matches;
1646
1646
  }
1647
1647
  comparePaths(path1, path2) {
1648
- return path1.replace(/(.+)\/$/, "$1") === path2.replace(/(.+)\/$/, "$1");
1648
+ return path1.replace(/\/$/, "") === path2.replace(/\/$/, "");
1649
1649
  }
1650
1650
  }
1651
1651
  class SearchParamError extends Error {