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

8
LINES

< > BotCompany Repo | #1013925 // filesMatchingRegexpIC - full match

JavaX fragment (include)

static L<File> filesMatchingRegexpIC(File dir, S regexp) {
  Pattern pat = regexpIC(regexp);
  new L<File> l;
  for (File f : listFiles(dir))
    if (!f.isDirectory() && regexpICMatches(pat, f.getName()))
      l.add(f);
  ret l;
}

Author comment

Began life as a copy of #1013803

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: #1013925
Snippet name: filesMatchingRegexpIC - full match
Eternal ID of this version: #1013925/1
Text MD5: 8ca13dc7107a969af3a6e28a9f60719d
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-15 16:57:54
Source code size: 238 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 298 / 324
Referenced in: [show references]