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

14
LINES

< > BotCompany Repo | #1028802 // test_transferCurlyBracketPhrases (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4428L/29K).

svoid test_transferCurlyBracketPhrases() {
  testFunctionValues_twoArgs transferCurlyBracketPhrases(
    pair(
      "Verb phrase: {Pick a Lock with Paperclips}",
      "Learn to Pick a Lock with Paperclips"),
      "Learn to {Pick a Lock with Paperclips}",
      
    // no double grouping
    pair(
      "Verb phrase: {Pick a Lock with Paperclips}",
      "Learn to {Pick a Lock with Paperclips}"),
      "Learn to {Pick a Lock with Paperclips}",
  );
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028802
Snippet name: test_transferCurlyBracketPhrases (OK)
Eternal ID of this version: #1028802/4
Text MD5: 7d328a935b09d75c86012dfcf96d7978
Transpilation MD5: 96e726cfb15b8e2b582f6f1c0774038c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-09 11:01:38
Source code size: 469 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 299 / 401
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1028803 - transferCurlyBracketPhrases - find phrases in one input and group them in another