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

4
LINES

< > BotCompany Repo | #1021288 // ai_findDoubleArrowRulesAsPairs (handles rules in lines as well as paragraphs)

JavaX fragment (include)

static LPair<S> ai_findDoubleArrowRulesAsPairs(S text) {
  LS rulesRaw = ai_splitEntriesWithMultipleDoubleArrows(splitAtEmptyLines(text));
  ret mapNonNulls splitAtDoubleArrow_pair(rulesRaw);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021288
Snippet name: ai_findDoubleArrowRulesAsPairs (handles rules in lines as well as paragraphs)
Eternal ID of this version: #1021288/3
Text MD5: 73b2b28912460ed190ea3a26dfa525a4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-08 19:43:35
Source code size: 196 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 359 / 399
Version history: 2 change(s)
Referenced in: [show references]