Content deleted Content added
No edit summary |
No edit summary |
||
Line 49:
code = mw.ustring.match (line, 'Subtag: ([%a%d]+)'); -- extract and save to subtag's code
elseif mw.ustring.match (line, 'Description: .+') then -- if this line is a description line
table.insert (
elseif mw.ustring.match (line, 'Prefix: .+') then -- if this line is a prefix line
table.insert (prefixes, '\"' .. mw.ustring.match (line, 'Prefix: (.+)') .. '\"'); -- extract and save the prefix wrapped in quote marks
elseif mw.ustring.match (line, 'Comments: .+') then -- if this line is a comments line
in_comments = true;
|