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

15
LINES

< > BotCompany Repo | #1014423 // Test find3plusRests + short syntax (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (2402L/16K).

!759

p {
  assertEqualsVerbose([[array{"yo", "are you doing"}]], sfu(getFind3plusRests("hello what", "yo hello what are you doing?").m));
  assertEqualsVerbose([[array{"yo", "what", "are you doing"}]], sfu(getFind3plusRests("hello *", "yo hello what are you doing?").m));

  new Matches m;
  S s = "yo hello what are you doing?";
  if "...hello what..."
    assertEqualsVerbose([[array{"yo", "are you doing"}]], sfu(m.m));
  else fail();
  if "...hello *..."
    assertEqualsVerbose([[array{"yo", "what", "are you doing"}]], sfu(m.m));
  else fail();
}

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: #1014423
Snippet name: Test find3plusRests + short syntax (OK)
Eternal ID of this version: #1014423/9
Text MD5: b9447177cacc9c77ad3ae27b1f9faa0b
Transpilation MD5: f3d9355811295340dd46e0bcd408c0bc
Author: stefan
Category: javax / parsing
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-21 17:50:35
Source code size: 567 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 1046
Version history: 8 change(s)
Referenced in: