@@ -257,7 +257,7 @@ matcher.fuzzy = function(input, word, matches, option)
|
|||||||
word_offset = word_offset + 1
|
word_offset = word_offset + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
if input_index > #input then
|
if matched and input_index > #input then
|
||||||
table.insert(matches, {
|
table.insert(matches, {
|
||||||
input_match_start = input_match_start,
|
input_match_start = input_match_start,
|
||||||
input_match_end = input_match_end,
|
input_match_end = input_match_end,
|
||||||
|
|||||||
Reference in New Issue
Block a user