Libraryless. Click here for Pure Java version (1562L/11K/36K).
1 | !752 |
2 | |
3 | p { |
4 | assertTrue(isIPv4("123.232.100.1")); |
5 | assertFalse(isIPv4("fe80:0:0:0:f126:27f6:cc21:3b2d%wlx98ded0177864")); |
6 | assertFalse(isIPv4("fe80:0:0:0:f126:27f6:cc21:3b2d%3")); |
7 | print("ok"); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006180 |
Snippet name: | Test isIPv4 |
Eternal ID of this version: | #1006180/1 |
Text MD5: | 75bb0dcd90969ae80ed89cb2f89e4675 |
Transpilation MD5: | 26831422b2de3c7e9211f848cda8852d |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-22 19:05:30 |
Source code size: | 206 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 457 / 599 |
Referenced in: | [show references] |