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).

1  
!759
2  
3  
p {
4  
  assertEqualsVerbose([[array{"yo", "are you doing"}]], sfu(getFind3plusRests("hello what", "yo hello what are you doing?").m));
5  
  assertEqualsVerbose([[array{"yo", "what", "are you doing"}]], sfu(getFind3plusRests("hello *", "yo hello what are you doing?").m));
6  
7  
  new Matches m;
8  
  S s = "yo hello what are you doing?";
9  
  if "...hello what..."
10  
    assertEqualsVerbose([[array{"yo", "are you doing"}]], sfu(m.m));
11  
  else fail();
12  
  if "...hello *..."
13  
    assertEqualsVerbose([[array{"yo", "what", "are you doing"}]], sfu(m.m));
14  
  else fail();
15  
}

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: 473 / 1046
Version history: 8 change(s)
Referenced in: [show references]