diff --git a/src/utils/to-path-components.js b/src/utils/to-path-components.js
index <HASH>..<HASH> 100644
--- a/src/utils/to-path-components.js
+++ b/src/utils/to-path-components.js
@@ -4,7 +4,7 @@ const toPathComponents = (path = '') => {
   // split on / unless escaped with \
   return (path
     .trim()
-    .match(/([^\\\^/]|\\\/)+/g) || [])
+    .match(/([^\\^/]|\\\/)+/g) || [])
     .filter(Boolean)
 }
chore: fix up linting errors