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

12
LINES

< > BotCompany Repo | #1024118 // ellipsisToGroupedDotPlusRegexp

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

Libraryless. Click here for Pure Java version (1674L/11K).

1  
scope ellipsisToGroupedDotPlusRegexp.
2  
3  
static SS #cache = synchronizedMRUCache(100);
4  
5  
sS ellipsisToGroupedDotPlusRegexp(S s) {
6  
  S out = cache.get(s);
7  
  if (out == null)
8  
    cache.put(s, out = ellipsisToRegexp_generic(s, "(.+)"));
9  
  ret out;
10  
}
11  
12  
end scope

Author comment

Began life as a copy of #1024108

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024118
Snippet name: ellipsisToGroupedDotPlusRegexp
Eternal ID of this version: #1024118/5
Text MD5: a0ce55632ea8877ceb751c79412f5cd1
Transpilation MD5: 0123edd29ea660e4fed8ffcbd4c76e5f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-26 00:09:25
Source code size: 265 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 361
Version history: 4 change(s)
Referenced in: [show references]