static A mmo_matchMultiWithTypos(int maxTypos, Cl entries, IF1 entryToPattern, S s) {
fOr (A a : entries)
if (mmo_match_parsedPattern(entryToPattern.get(a), s))
ret a;
new Lowest best;
for (A a : entries)
lowestPut(best, a, mmo_levenWithSwapsScore_parsedPattern(entryToPattern.get(a), s));
if (!best.has()) null;
if (best.score() > maxTypos) null;
ret best!;
}