Module:Sandbox/Hellknowz/Test: Difference between revisions

Content deleted Content added
test mw.ustring.find
pattern
Line 601:
local input = frame.args[1]
 
local s, e, m = mw.ustring.find(input, '^(%s*[%-–—]%s*)')
if (s) then
return 'yes'