Module:Sandbox/trappist the monk/ru test

require ('strict');

local nomination_page_text = [=[]=]

local function main local block_pattern = "%{%{%ВАРБ:строка|кандидат=([^\n]*)\n|номинатор=([^\n]*)\n|согласие=([^\n]*)\n|отказ=([^\n]*)\n|бюрократ=([^\n]*)\n|отказ бюрократа=([^\n]*)\n%}%}" for candidate, submitter, consent, refusal, admission, non_admission in mw.ustring.gmatch(nomination_page_text, block_pattern) do		local table_t = {['candidate'] = candidate, ['submitter'] = submitter, ['consent'] = consent, ['refusal'] = refusal, ['admission'] = admission, ['non_admission'] = non_admission}; return mw.dumpObject (table_t) end end

return { main = main }