We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc7613 commit a33ac45Copy full SHA for a33ac45
src/_common.js
@@ -74,7 +74,7 @@ function hasApproxPattern(word, pattern) {
74
for (var i = 0; i <= pattern.length; i++) {
75
var index = indexOf(word, p, pattern.charAt(i));
76
if (index == -1) return false;
77
- p += index;
+ p += index + 1;
78
}
79
return true
80
0 commit comments