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

10
LINES

< > BotCompany Repo | #1012771 // Test singleEllipsisMatchIC

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

Download Jar. Libraryless. Click here for Pure Java version (1289L/9K).

!7

p {
  assertEquals("c", getSingleEllipsisMatchIC("a ... b", "a c b").get(0));
  assertFalse(singleEllipsisMatchIC("a ... b", "a cb"));
  assertEquals("yo", getSingleEllipsisMatchIC("hello,...,bla", "HELLO,yo,bla").get(0));
  assertFalse(singleEllipsisMatchIC("hello,...,bla", "HELLO,yo,blb"));
  assertFalse(singleEllipsisMatchIC("hello,...,bla", "HELL,yo,bla"));
  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: #1012771
Snippet name: Test singleEllipsisMatchIC
Eternal ID of this version: #1012771/3
Text MD5: 32b4a58f4b93f40229c82ac3f8247d1f
Transpilation MD5: 0f3a8f5e0d67a15439bf5c0ea0a2e6d1
Author: stefan
Category: javax / parsing
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-13 01:12:04
Source code size: 393 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 424 / 992
Version history: 2 change(s)
Referenced in: