export default function(routesFetchersMap, path, store) {

    const decodedPath = decodeURI(path);
    console.log("Pre-fetcher --> Decoded path: " + decodedPath);

    for (let i = 0; i < routesFetchersMap.length; i++) {
        const m = routesFetchersMap[i].regex.exec(path);
        if (m !== null) {
            console.log(`Pre-fetcher --> Matched ${routesFetchersMap[i].name}`);
            return store.dispatch(routesFetchersMap[i].func(m));
        }
    }

    console.log(`Pre-fetcher --> No route matched`);
    return Promise.resolve(true);
}

@@ -266,17 +266,24 @@
 ex.exec(
-p
+decodedP
 ath);%0A  
@@ -518,16 +518,37 @@
  matched
+, nothing to prefetch
 %60);%0A    

fix regex matching path instead of decodedPath