sS nohup_sanitize(S s) { ret empty(s) ? s : takeFirst(50, s.replaceAll("[^.a-zA-Z0-9\\-_]", "")); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1009092 |
Snippet name: | nohup_sanitize - sanitize and shorten arbitrary string for use as file name |
Eternal ID of this version: | #1009092/3 |
Text MD5: | 4ef8413feb9fc3f426b46f188d5bff3b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-21 13:07:46 |
Source code size: | 105 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 499 / 570 |
Version history: | 2 change(s) |
Referenced in: | [show references] |