From 37d4310863b865e1096f60dfcf5a9e32b4fbcec2 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 28 Oct 2020 23:19:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E7=94=A8=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E5=92=8C=E9=82=AE=E7=AE=B1=E5=85=81=E8=AE=B8=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E7=9A=84=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/widgetList.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zframework/widgetList.lua b/Zframework/widgetList.lua index 38a97af3..b2a49502 100644 --- a/Zframework/widgetList.lua +++ b/Zframework/widgetList.lua @@ -669,8 +669,8 @@ local Widgets={ }, login={ newText({name="title", x=80, y=50,font=70,align="L"}), - newTextBox({name="username",x=380, y=160,w=500,h=60,regex="[0-9A-Za-z_-=+'.<>/{}*]"}), - newTextBox({name="email", x=380, y=260,w=626,h=60,regex="[0-9A-Za-z_@]"}), + newTextBox({name="username",x=380, y=160,w=500,h=60,regex="[0-9A-Za-z_]"}), + newTextBox({name="email", x=380, y=260,w=626,h=60,regex="[0-9A-Za-z@-._]"}), newTextBox({name="code", x=380, y=360,w=626,h=60,regex="[0-9A-Za-z]"}), newTextBox({name="password",x=380, y=460,w=626,h=60,secret=true,regex="[ -~]"}), newTextBox({name="password2",x=380, y=560,w=626,h=60,secret=true,regex="[ -~]"}),