summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty.core.regex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty/library/resty.core.regex.lua')
-rw-r--r--meta/3rd/OpenResty/library/resty.core.regex.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/3rd/OpenResty/library/resty.core.regex.lua b/meta/3rd/OpenResty/library/resty.core.regex.lua
index f91bf1da..31cb7915 100644
--- a/meta/3rd/OpenResty/library/resty.core.regex.lua
+++ b/meta/3rd/OpenResty/library/resty.core.regex.lua
@@ -1,11 +1,11 @@
---@meta
-resty_core_regex={}
-function resty_core_regex.collect_captures() end
+local resty_core_regex={}
+function resty_core_regex.collect_captures(compiled, rc, subj, flags, res) end
function resty_core_regex.set_buf_grow_ratio(ratio) end
-function resty_core_regex.re_sub_compile() end
+function resty_core_regex.re_sub_compile(regex, opts, replace, fun) end
function resty_core_regex.is_regex_cache_empty() end
-function resty_core_regex.check_buf_size() end
-function resty_core_regex.re_match_compile() end
-function resty_core_regex.destroy_compiled_regex() end
-resty_core_regex.version="0.1.17"
+function resty_core_regex.check_buf_size(buf, buf_size, pos, len, new_len, must_alloc) end
+function resty_core_regex.re_match_compile(regex, opts) end
+function resty_core_regex.destroy_compiled_regex(compiled) end
+resty_core_regex.version = require("resty.core.base").version
return resty_core_regex \ No newline at end of file