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

4
LINES

< > BotCompany Repo | #1030081 // mmo2_linesToPattern

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

Libraryless. Click here for Pure Java version (2801L/18K).

sS mmo2_linesToPattern(Cl<S> lines) {
  ret mmo2_combineWithOr(lmap(s -> "^" + s + "$",
    uniquifySortedIC(lmap simplifyUsingParse3(lines))));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030081
Snippet name: mmo2_linesToPattern
Eternal ID of this version: #1030081/1
Text MD5: 3d9cb59f81be8712dbfcc29c1ebf6e79
Transpilation MD5: 5a8ff31ac47aa5990d3e1fd96d09069f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-06 09:07:51
Source code size: 149 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 282 / 366
Referenced in: [show references]