From 2880d1cfb9043fa116145284c5ce4c0e2babeca1 Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Fri, 8 Sep 2023 19:57:36 +0200 Subject: [PATCH] Fix helper for bookworm. --- helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.lua b/helpers.lua index d51bd98..eea03d8 100644 --- a/helpers.lua +++ b/helpers.lua @@ -889,7 +889,7 @@ function edit_user() end ldap:close() - local rex = require "rex_pcre" + local rex = require "rex_pcre2" local rex_flags = rex.flags() local mail_re = rex.new([[^[\w\.\-+%]+@([^\W_A-Z]+([\-]*[^\W_A-Z]+)*\.)+([^\W\d_]{2,})$]], rex_flags.UTF8 + rex_flags.UCP)