static LS matchX_any_allRests(LS patterns, S s) { new LS l; new Matches m; for (S pat2 : unnull(patterns)) if (matchX(pat2, s, m)) l.add(m.rest()); ret l; } static LS matchX_any_allRests(S pat, LS inputs) { new LS l; new Matches m; for (S s : unnull(inputs)) if (matchX(pat, s, m)) l.add(m.rest()); ret l; }
Began life as a copy of #1020732
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020734 |
Snippet name: | matchX_any_allRests |
Eternal ID of this version: | #1020734/3 |
Text MD5: | 7ac1f4f7dca7e8efb7fe1ac24c61036a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-10 20:42:59 |
Source code size: | 362 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 325 / 348 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1020831 - matchX_any |