mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
commit
809a2a93b6
1 changed files with 1 additions and 1 deletions
|
@ -889,7 +889,7 @@ function edit_user()
|
||||||
end
|
end
|
||||||
ldap:close()
|
ldap:close()
|
||||||
|
|
||||||
local rex = require "rex_pcre"
|
local rex = require "rex_pcre2"
|
||||||
local rex_flags = rex.flags()
|
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)
|
local mail_re = rex.new([[^[\w\.\-+%]+@([^\W_A-Z]+([\-]*[^\W_A-Z]+)*\.)+([^\W\d_]{2,})$]], rex_flags.UTF8 + rex_flags.UCP)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue