summaryrefslogtreecommitdiff
path: root/server/libs/lua/string.lni
diff options
context:
space:
mode:
Diffstat (limited to 'server/libs/lua/string.lni')
-rw-r--r--server/libs/lua/string.lni24
1 files changed, 24 insertions, 0 deletions
diff --git a/server/libs/lua/string.lni b/server/libs/lua/string.lni
index d1754b74..a45be1d1 100644
--- a/server/libs/lua/string.lni
+++ b/server/libs/lua/string.lni
@@ -111,6 +111,30 @@ returns = {
},
}
+["gmatch Lua 5.4"]
+name = 'gmatch'
+version = 'Lua 5.4'
+[[.args]]
+type = 'string'
+``````````
+name = 'pattern'
+type = 'string'
+``````````
+name = 'init'
+type = 'integer'
+optional = 'after'
+default = 1
+[[.returns]]
+type = 'function'
+returns = {
+ 1 = {
+ type = 'string'
+ },
+ 2 = {
+ type = '...'
+ },
+}
+
[gsub]
[[.args]]
type = 'string'