Skip to content

Commit bf13361

Browse files
committed
Change the maxOffset used for fuzzy matching names
The smaller value gives better results when comparing the short *able names.
1 parent 4a05be6 commit bf13361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Whateverable.pm6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ method selfrun($nick is copy, @alias?) {
283283
}
284284

285285
sub fuzzy-nick($nick, $distance) is export {
286-
/ \w+ <?{ sift4(~$/, $nick) ~~ 1..$distance }> /
286+
/ \w+ <?{ sift4(~$/, $nick, 5) ~~ 1..$distance }> /
287287
}
288288

289289
# vim: expandtab shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)