整理代码,新增string扩展模块,把一些小模块合并进string和table扩展模块中

This commit is contained in:
MrZ626
2021-04-22 11:13:37 +08:00
parent 7b0717c392
commit 402f777a90
91 changed files with 258 additions and 191 deletions

View File

@@ -7,7 +7,7 @@ local function register()
local password2=WIDGET.active.password2.value
if #username==0 then
LOG.print(text.noUsername)return
elseif not legalEmail(email)then
elseif not STRING.simpEmailCheck(email)then
LOG.print(text.wrongEmail)return
elseif #password==0 or #password2==0 then
LOG.print(text.noPassword)return