Modul:Detect singular: Unterschied zwischen den Versionen

escape asterisk
(fix)
(escape asterisk)
Zeile 32: Zeile 32:
local hasAnd = mw.ustring.find(s,'%Aand%A')
local hasAnd = mw.ustring.find(s,'%Aand%A')
local hasBreak = mw.ustring.find(s,'<%s*br')
local hasBreak = mw.ustring.find(s,'<%s*br')
local hasBullets = checkBullets and countMatches(s,'*+') > 1
local hasBullets = checkBullets and countMatches(s,'%*+') > 1
return not (hasComma or hasList or hasAnd or hasBreak or hasBullets)
return not (hasComma or hasList or hasAnd or hasBreak or hasBullets)
end
end
Anonymer Benutzer