summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMichael Martin <3277009+flrgh@users.noreply.github.com>2022-05-07 12:27:00 -0700
committerMichael Martin <3277009+flrgh@users.noreply.github.com>2022-05-07 12:27:00 -0700
commit0cc4aad8452fab5cd1dcea384e3d5ba963cef462 (patch)
tree8c5c263a011c0b6f2a30e62b149e833ecfb5f8cf /meta
parent67b4c574849d1667e0ecb39c51aeed8e30b43056 (diff)
downloadlua-language-server-0cc4aad8452fab5cd1dcea384e3d5ba963cef462.zip
ngx.re opt string is not required
Diffstat (limited to 'meta')
-rw-r--r--meta/3rd/OpenResty/library/ngx.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/3rd/OpenResty/library/ngx.lua b/meta/3rd/OpenResty/library/ngx.lua
index b85593bf..1c9fdbeb 100644
--- a/meta/3rd/OpenResty/library/ngx.lua
+++ b/meta/3rd/OpenResty/library/ngx.lua
@@ -1012,7 +1012,7 @@ ngx.re = {}
---
---@param subject string
---@param regex string
----@param options ngx.re.options
+---@param options? ngx.re.options
---@param ctx? ngx.re.ctx
---@param nth? integer
---@return integer? from
@@ -1087,7 +1087,7 @@ function ngx.re.find(subject, regex, options, ctx, nth) end
---
---@param subject string
---@param regex string
----@param options ngx.re.options
+---@param options? ngx.re.options
---@return ngx.re.gmatch.iterator? iterator
---@return string? error
function ngx.re.gmatch(subject, regex, options) end
@@ -1121,7 +1121,7 @@ function ngx.re.gmatch(subject, regex, options) end
---
---@param subject string
---@param regex string
----@param options ngx.re.options
+---@param options? ngx.re.options
---@param ctx? ngx.re.ctx
---@param res? ngx.re.captures
---@return ngx.re.captures? captures
@@ -1155,7 +1155,7 @@ function ngx.re.match(subject, regex, options, ctx, res) end
---@param subject string
---@param regex string
---@param replace ngx.re.replace
----@param options ngx.re.options
+---@param options? ngx.re.options
---@return string? new
---@return integer? n
---@return string? error
@@ -1219,7 +1219,7 @@ function ngx.re.gsub(subject, regex, replace, options) end
---@param subject string
---@param regex string
---@param replace ngx.re.replace
----@param options ngx.re.options
+---@param options? ngx.re.options
---@return string? new
---@return integer? n
---@return string? error