Module:category tree/affixes and compounds: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
Line 219: Line 219:


table.insert(handlers, function(data)
table.insert(handlers, function(data)
local labelpref, pos, affixtype, term_and_id = data.label:match("^(([%w' -]+) ([a-z]+fix)ed with )(.+)$")
local labelpref, pos, affixtype, term_and_id = data.label:match("^(([a-z -]+) ([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("^(.+) %(([^()]+)%)$")