Zum Inhalt springen

Modul:Detect singular: Unterschied zwischen den Versionen

args.bullets defaults to true
(allow tightly packed comma-separated lists)
(args.bullets defaults to true)
Zeile 14: Zeile 14:
function p._main(args)
function p._main(args)
local checkComma = not yesNo(args.no_comma,true)
local checkComma = not yesNo(args.no_comma,true)
if args.bullets == nil then
args.bullets = true
end
local checkBullets = yesNo(args.bullets,true)
local checkBullets = yesNo(args.bullets,true)
local s = args[1]  -- the input string
local s = args[1]  -- the input string
Anonymer Benutzer