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

10
LINES

< > BotCompany Repo | #1020831 // matchX_any

JavaX fragment (include)

sbool matchX_any(LS patterns, S s) {
  ret matchX_any(patterns, s, null);
}

sbool matchX_any(LS patterns, S s, Matches m) {
  for (S pat2 : unnull(patterns))
    if (matchX(pat2, s, m))
      true;
  false;
}

Author comment

Began life as a copy of #1020734

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: #1020831
Snippet name: matchX_any
Eternal ID of this version: #1020831/3
Text MD5: 23101537c56eb35b65717f9d33ac1d89
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-03 20:50:33
Source code size: 220 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 311 / 348
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021490 - jmatch_any