Module:inline: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 3: Line 3:
function export.parse(term)
function export.parse(term)
     local args = {}
     local args = {}
     local i, key, value = i
     local i, key, value = 0
     while i < #term do
     while i < #term do
         key, value, i = mw.ustring.match(term, "<([a-zA-Z]+):([^>]+)>()")
         key, value, i = mw.ustring.match(term, "<([a-zA-Z]+):([^>]+)>()")