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

10
LINES

< > BotCompany Repo | #1021443 // getMatchesX_all

JavaX fragment (include)

static L<Matches> getMatchesX_all(S pat, Iterable<S> l) {
  new Matches m;
  new L<Matches> out;
  for (S s : unnull(l))
    if (matchX(pat, s, m)) {
      out.add(m);
      m = new Matches;
    }
  ret out;
}

Author comment

Began life as a copy of #1021436

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021443
Snippet name: getMatchesX_all
Eternal ID of this version: #1021443/3
Text MD5: a4d0e4d383b50e5ce6f3c588b56eab88
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-12 22:07:24
Source code size: 218 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 286 / 325
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021653 - getJMatches_all
#1023756 - firstMatchesX_rest - welcome to ugly function names!
#1026558 - getMatchesX2_all - getMatchesX_all + vbar patterns