Module:Sandbox/BrownHairedGirl/sandbox: Difference between revisions

Content deleted Content added
local p = {}
tweak
 
(One intermediate revision by the same user not shown)
Line 1:
local p = {}
 
function patternSearchEncode(s)
return mw.ustring.gsub(s, "([%W])", "%%%1")
end
 
 
function p.main(frame)
Line 20 ⟶ 25:
or (mw.ustring.match(pn, "^" .. testProvinceStrippedEncoded .. "$") ~= nil) then
retval = retval .. "Yes"
else
return testProvinceStripped
retval = retval .. "No"
end
retval = return retval .. "No"
end