1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 12:45:18 +03:00
aports/testing/lua-jsonschema/lrex-pcre2.patch
2023-01-09 08:25:46 +01:00

13 lines
440 B
Diff

diff --git a/lib/jsonschema.lua b/lib/jsonschema.lua
index a59558e..3416a8d 100644
--- a/lib/jsonschema.lua
+++ b/lib/jsonschema.lua
@@ -49,7 +49,7 @@ if ngx then
else
match_pattern = function (s, p)
if not rex_find then
- local ok, rex = pcall(require, "rex_pcre")
+ local ok, rex = pcall(require, "rex_pcre2")
if not ok then
error("depends on lrexlib-pcre, please install it first: " .. rex)
end