Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,12 +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
---@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
function gsub(s, pattern, rep, repTable, repFunc, maxReplaced) end