sS unplenk(S s) { ret regexpReplaceWithFirstGroup("\\s+([,.!?])", s); }
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: | #1021193 |
Snippet name: | unplenk - remove spaces before punctuation |
Eternal ID of this version: | #1021193/1 |
Text MD5: | 63df3ee7c5b0eba08d83beb9ff6219c6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-02 15:56:31 |
Source code size: | 75 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 303 / 332 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021194 - dailyDialogs_unplenk |