Jaro similarity: Difference between revisions

→‎{{header|Wren}}: Fixed potential bug though results unchanged.
(Added Wren)
(→‎{{header|Wren}}: Fixed potential bug though results unchanged.)
Line 3,020:
var end = i + dist + 1
if (end > le2) end = le2
forvar (k in= start...end) {
while (k < end) {
if (!(matches2[k] || s1[i] != s2[k])) {
matches1[i] = true
Line 3,027 ⟶ 3,028:
break
}
} k = k + 1
}
}
if (matches == 0) return 0
9,479

edits