Modul:Detect singular: Unterschied zwischen den Versionen
get rid of debugging
(isolated commas can trigger plural also) |
(get rid of debugging) |
||
Zeile 8: | Zeile 8: | ||
local function countMatches(s, pattern) | local function countMatches(s, pattern) | ||
local | local _, count = mw.ustring.gsub(s, pattern, '') | ||
return count | return count | ||
end | end |