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

8
LINES

< > BotCompany Repo | #1021438 // matchX_any_firstAndSecondGroups

JavaX fragment (include)

static L<PairS> matchX_any_firstAndSecondGroups(S pat, Iterable<S> l) {
  new Matches m;
  new L<PairS> out;
  for (S s : unnull(l))
    if (matchX(pat, s, m))
      out.add(pair($1, $2));
  ret out;
}

Author comment

Began life as a copy of #1021437

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: #1021438
Snippet name: matchX_any_firstAndSecondGroups
Eternal ID of this version: #1021438/1
Text MD5: 62cf303459b942358f0859e8a509e429
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-12 19:35:44
Source code size: 208 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 240
Referenced in: [show references]