powerscript:
match(sle_1.text,'^[a-zA-Z0-9][a-zA-Z\0-9\-_\.]*[^.]\@[^.][a-zA-Z\0-9\-_\.]+\.[a-zA-Z\0-9\-_\.]*[a-zA-Z\0-9]+$')
powerbuilder datawindow:
( NOT Match(GetText(),~"[^A-Za-z0-9\.@_\-]~") OR NOT (Match(GetText(),~"[@+]~") AND Match(GetText(),~"[/.+]~"))) AND NOT (pos(GetText(), ~".~") = 1 OR pos(GetText(), ~".~", Len(GetText())-1) = Len(GetText()) OR pos(GetText(), ~"@~") = 1 OR pos(GetText(), ~"@~", Len(GetText())-1) = Len(GetText()) OR Pos(GetText(),~".@~")>0 OR Pos(GetText(),~"@.~")>0)
阅读(726) | 评论(0) | 转发(0) |