Модуль:Meals Lookup: различия между версиями
Отмена версии 76299, сделанной MiHaNiK849 (обсуждение) Метка: отмена |
Нет описания правки |
||
| Строка 596: | Строка 596: | ||
end | end | ||
out = out .. ")" | out = out .. ")" | ||
end | |||
end | |||
return out | |||
end | |||
function test3(frame, tabl, str) -- should not be inviked | |||
local out = {} | |||
for microwaveRecipes, recipes in pairs(tabl) do | |||
out[microwaveRecipes] = {} | |||
for recipeId, recipe in pairs(recipes) do | |||
if string.match(recipeId, str) then | |||
table.insert(out[microwaveRecipes], recipe) | |||
end | |||
end | end | ||
end | end | ||