« Module:Common » : différence entre les versions
De Nefald Wiki
Autres actions
Page créée avec « local libraryUtil = require('libraryUtil') local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local p = {} --- Escape pattern for regex --- @param s string string to escape --- @return string local function escapePattern(s) return s:gsub("%W", "%%%1") end --- Check if table contains value, return key if match --- --- @param t table - Table to search --- @param val any - Value to match --- @return number|nil function p... » |
(Aucune différence)
|