upload to git

This commit is contained in:
UndeadMaelys
2022-03-22 16:03:00 +01:00
commit 8b4f32bc9f
9 changed files with 659 additions and 0 deletions

18
search_list.lua Normal file
View File

@@ -0,0 +1,18 @@
return function(query)
results_table = {}
for i=1, #words do
local exit = true
for j=1, #words[i]-1 do
if string.find(words[i][j], query) then
exit = false
break
end
end
if not exit then
local word = {i,words[i]}
table.insert(results_table,word)
end
end
results_table = adjustTableSizes(results_table)
printOutputTable(results_table)
end