1 | static bool isProperFileName_allowSpaces(S s) { |
2 | ret nempty(s) && !startsWith(s, ".") && regexpIC("[a-z0-9-._ +%()\\[\\]#,!]+", s).matches(); |
3 | } |
Began life as a copy of #1011855
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: | #1017993 |
Snippet name: | isProperFileName_allowSpaces |
Eternal ID of this version: | #1017993/4 |
Text MD5: | f46ab00d7c78a1b22748c737768ae815 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-24 17:31:55 |
Source code size: | 146 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 396 / 399 |
Version history: | 3 change(s) |
Referenced in: | [show references] |