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

4
LINES

< > BotCompany Repo | #1027143 // gazelle_deepReplaceFullPhrases - using map

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

Libraryless. Click here for Pure Java version (2856L/17K).

// Note: doesn't replace single words in a phrase
sS gazelle_deepReplaceFullPhrases(SS map, S input, O... _) {
  ret empty(map) ? input : gazelle_deepTransform(s -> map.get(s), input, _);
}

Author comment

Began life as a copy of #1027141

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027143
Snippet name: gazelle_deepReplaceFullPhrases - using map
Eternal ID of this version: #1027143/4
Text MD5: b5c1567d74032d659ad6177bb838686b
Transpilation MD5: 993ce2fa84ff7e73f900ab69e674c081
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-22 11:23:34
Source code size: 192 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 193 / 282
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)