Module:category tree/affixes and compounds: Difference between revisions
m 1 revision imported |
No edit summary Tag: Reverted |
||
| Line 219: | Line 219: | ||
table.insert(handlers, function(data) | table.insert(handlers, function(data) | ||
local labelpref, pos, affixtype, term_and_id = data.label:match("^(([ | local labelpref, pos, affixtype, term_and_id = data.label:match("^(([%w' -]+) ([a-z]+fix)ed with )(.+)$") | ||
if affixtype then | if affixtype then | ||
local term, id = term_and_id:match("^(.+) %(([^()]+)%)$") | local term, id = term_and_id:match("^(.+) %(([^()]+)%)$") | ||