Libraryless. Click here for Pure Java version (2720L/17K).
1 | svoid test_isValidEmailAddress_simple() { |
2 | testFunctionValues isValidEmailAddress_simple( |
3 | "hello@world.com", true, |
4 | "hello@bla", false, |
5 | "this no@yo.yo", false, |
6 | "info~bla@a.b.c", true, |
7 | rep('a', 254) + "@test.com", false, // too long |
8 | ); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029742 |
Snippet name: | test_isValidEmailAddress_simple (OK) |
Eternal ID of this version: | #1029742/3 |
Text MD5: | 54452eeb73aa539208dd1f59f9234170 |
Transpilation MD5: | a760f52e019fcac6f5f4e969392a07f3 |
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:11:18 |
Source code size: | 266 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 251 |
Version history: | 2 change(s) |
Referenced in: | [show references] |