mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
Fixed recursive scoring results in fuzzy match lib
This commit is contained in:
parent
50f796049c
commit
47bbefd81f
@ -181,7 +181,6 @@ function fuzzyMatchRecursive(
|
||||
// Return best result
|
||||
if (recursiveMatch && (!matched || bestRecursiveScore > outScore)) {
|
||||
// Recursive score is better than "this"
|
||||
matches = [...bestRecursiveMatches];
|
||||
outScore = bestRecursiveScore;
|
||||
return [true, outScore, calcMatchRanges(matches)];
|
||||
} else if (matched) {
|
||||
|
Loading…
Reference in New Issue
Block a user