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

3
LINES

< > BotCompany Repo | #1027107 // ai_splitOffApostropheS + "Charlie's" to "Charlie 's"

JavaX fragment (include)

sS ai_splitOffApostropheS(S s) {
  ret regexpReplace_direct(s, "(?<=\\w)'s\\b", " 's");
}

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: #1027107
Snippet name: ai_splitOffApostropheS + "Charlie's" to "Charlie 's"
Eternal ID of this version: #1027107/2
Text MD5: 498cabdd00c674fd27e2bc02ef294bbf
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-20 15:11:54
Source code size: 91 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 289
Version history: 1 change(s)
Referenced in: [show references]