Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1023353 // isValidEmailAddress_simple

JavaX fragment (include)

1  
sbool isValidEmailAddress_simple(S s) {
2  
  ret l(s) <= 254 && regexpMatches("^\\S+@\\S+(\\.[^\\.\\s]+)+$", s);
3  
}

Author comment

Began life as a copy of #1015972

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023353
Snippet name: isValidEmailAddress_simple
Eternal ID of this version: #1023353/3
Text MD5: ebc2f14cc1491e013d763bc1ca99adc2
Author: stefan
Category: javax / mail
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-11 12:10:48
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 251 / 316
Version history: 2 change(s)
Referenced in: [show references]