Anonymous user
Module:Delink: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
better whitespace matching for urls
(handle nested links) |
(better whitespace matching for urls) |
||
Line 22:
else
s = mw.ustring.match(s, "^%[" .. url_prefix .. "(.*)%]") -- Grab all of the text after the URL prefix and before the final square bracket.
s = mw.ustring.match(s, '^.-(["<>
s = mw.ustring.match(s, "^
return s
end
|