Module:Check for unknown parameters: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(add optional regexp match) |
No edit summary |
||
Line 40: | Line 40: | ||
local knownflag = nil |
local knownflag = nil |
||
for r = 1,#regexps do |
for r = 1,#regexps do |
||
if( k:match(regexp[r]) ) then |
if( k:match(regexp[r-1]) ) then |
||
knownflag = 1 |
knownflag = 1 |
||
end |
end |