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

7
LINES

< > BotCompany Repo | #1023554 // wordReplace - does not descend into {} groups

JavaX fragment (include)

1  
sS wordReplace(S s, SS map) {
2  
  ret join(replaceCodeTokensUsingMap_curly(wordTok(s), map));
3  
}
4  
5  
sS wordReplace(SS map, S s) {
6  
  ret wordReplace(s, map);
7  
}

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: #1023554
Snippet name: wordReplace - does not descend into {} groups
Eternal ID of this version: #1023554/5
Text MD5: feef310528cbf44f80986603263b8e76
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-28 13:44:58
Source code size: 159 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 174 / 227
Version history: 4 change(s)
Referenced in: [show references]