Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1017993 // isProperFileName_allowSpaces

JavaX fragment (include)

static bool isProperFileName_allowSpaces(S s) {
  ret nempty(s) && !startsWith(s, ".") && regexpIC("[a-z0-9-._ +%()\\[\\]#,!]+", s).matches();
}

Author comment

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: 393 / 395
Version history: 3 change(s)
Referenced in: [show references]