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)

sS wordReplace(S s, SS map) {
  ret join(replaceCodeTokensUsingMap_curly(wordTok(s), map));
}

sS wordReplace(SS map, S s) {
  ret wordReplace(s, map);
}

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: 234 / 290
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1023555 - wordReplace_deep - descends into {} groups