diff --git a/lib/rules/rules.js b/lib/rules/rules.js
index <HASH>..<HASH> 100644
--- a/lib/rules/rules.js
+++ b/lib/rules/rules.js
@@ -1048,7 +1048,7 @@ function resolveFilterPattern(matcher) {
     return {
       not: not,
       isInclude: isInclude,
-      filter: '^[a-z]+://[^/?]+/' + path
+      filter: '^[a-z]+://' + (wildcard.length > 3 ? '[^?]' : '[^/?]') + '+/' + path
     };
   }
   var result = isRegUrl('^' + filter);
fix: filter ***/path/to