Module:lnk-pro-morph: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 10: Line 10:
-- processes arguments of the form -Vn:o
-- processes arguments of the form -Vn:o
if mw.ustring.find(form, "[^%:]%:[^%:]") then
if mw.ustring.find(form, "[^%:]%:[^%:]") then
replace = mw.ustring.match(form, "[^%:]+$")
form, replace = mw.ustring.match(form, "([^%:]+)%:([^%:]+)")
form = mw.ustring.match(form, "^[^%:]+")
end
end