Initial commit

This commit is contained in:
2024-12-16 13:13:08 +01:00
commit c8d4f32d5d
3093 changed files with 18304 additions and 0 deletions

12
api/gsub.lua Normal file
View File

@@ -0,0 +1,12 @@
---@diagnostic disable: missing-return, lowercase-global
---@param s string
---@param pattern string
---@param rep string
---@param repTable table
---@param repFunc function
---@param maxReplaced number
---@return string newString
---@return number numMatched
---Returns a string in which occurrences of a pattern are replaced. Alias for the standard library function string.gsub.
function gsub(s, pattern, rep, repTable, repFunc, maxReplaced) end