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: | 518 / 547 | 
| Referenced in: | [show references] |