Module:la-verb/testcases/data
Jump to navigation
Jump to search
- This module testcase page lacks a documentation subpage. Please create it.
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
local Array = require "Module:array"
local function get_tab_separated_words(text)
local res = Array()
for line in text:gmatch '[^\n]+' do
local words = Array()
res:insert(words)
for word in line:gmatch '[^\t]+' do
words:insert(word)
end
end
return res
end
return get_tab_separated_words(
mw.title.new 'User:Erutuon/Latin verb stems':getContent()
:match '<pre><nowiki>(.-)</nowiki></pre>')