Module:Str find word: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 81:
-- Step 3: parse comma-delimited words
hitCount = 0
local eSep
eSep = escape_word(tArgs.sSep)
table.insert(wordTable, eSep) -- dev
local patstring = '%f[^' .. eSep .. '][^' .. eSep .. ']+%f[' .. eSep .. ']'
table.insert(wordTable, eSep) -- dev
table.insert(wordTable, patstring) -- dev
while hitCount <= iMaxWords do
hitCount = hitCount + 1