Jump to content

Historia di revishon di "Module:Detect singular"

Leyenda: (akt) = diferensia ku vershon aktual, (prev) = diferensia ku vershon previo, m = editashon menor

29 mart 2024

  • aktprev 17:1117:11, 29 mart 2024 Kallmemel papia kontrib'nan 4,255 bytes +4,255 Created page with "local p = {} local getArgs = require('Module:Arguments').getArgs local yesNo = require('Module:Yesno') local getPlain = require('Module:Text').Text().getPlain -- function to determine whether "sub" occurs in "s" local function plainFind(s, sub) return mw.ustring.find(s, sub, 1, true) end -- function to count the number of times "pattern" (a regex) occurs in "s" local function countMatches(s, pattern) local _, count = mw.ustring.gsub(s, pattern, '') return count end..."