Content deleted Content added
test |
tweak |
||
(2 intermediate revisions 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 18 ⟶ 25:
or (mw.ustring.match(pn, "^" .. testProvinceStrippedEncoded .. "$") ~= nil) then
retval = retval .. "Yes"
else
retval = retval .. "No"
end
end
|