sS replacePhrase(S s, S pattern, S replacement) { ret cic(s, pattern) ? regexpReplaceIC_direct(s, "\\b" + regexpQuote(pattern) + "\\b", replacement) : s; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018264 |
Snippet name: | replacePhrase - uses quoted regexp & word boundaries. ignores case |
Eternal ID of this version: | #1018264/5 |
Text MD5: | c9dc6393ed1c940dd69c2edcfa12909e |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-30 17:38:50 |
Source code size: | 159 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 328 / 354 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |