1 | static L<File> filesMatchingRegexpIC(File dir, S regexp) {
|
2 | Pattern pat = regexpIC(regexp); |
3 | new L<File> l; |
4 | for (File f : listFiles(dir)) |
5 | if (!f.isDirectory() && regexpICMatches(pat, f.getName())) |
6 | l.add(f); |
7 | ret l; |
8 | } |
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: | 589 / 629 |
| Referenced in: | [show references] |