1 | static bool isProperFileName(S s) { |
2 | ret nempty(s) && !startsWith(s, ".") && regexpIC("[a-z0-9-._]+", s).matches(); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011855 |
Snippet name: | isProperFileName |
Eternal ID of this version: | #1011855/3 |
Text MD5: | 93f4203d56da92d4aa797df2b53f2518 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-08 03:36:05 |
Source code size: | 120 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 519 / 542 |
Version history: | 2 change(s) |
Referenced in: | [show references] |