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

9
LINES

< > BotCompany Repo | #1035183 // replaceRegexp - synonym of regexpReplace

JavaX fragment (include)

1  
sS replaceRegexp(S s, S pat, IF1<Matcher, S> f) {
2  
  ret regexpReplace(s, pat, f);
3  
}
4  
5  
6  
7  
sS replaceRegexp(S s, S pat, S replacement) {
8  
  ret regexpReplace(s, pat, replacement);
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035183
Snippet name: replaceRegexp - synonym of regexpReplace
Eternal ID of this version: #1035183/1
Text MD5: 127a2f3d4a6788123e8e2f263ee8aa56
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-05 22:25:45
Source code size: 178 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 143
Referenced in: [show references]