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

8
LINES

< > BotCompany Repo | #1006180 // Test isIPv4

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1562L/11K/36K).

!752

p {
  assertTrue(isIPv4("123.232.100.1"));
  assertFalse(isIPv4("fe80:0:0:0:f126:27f6:cc21:3b2d%wlx98ded0177864"));
  assertFalse(isIPv4("fe80:0:0:0:f126:27f6:cc21:3b2d%3"));
  print("ok");
}

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: 456 / 597
Referenced in: [show references]