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

10
LINES

< > BotCompany Repo | #1020831 // matchX_any

JavaX fragment (include)

1  
sbool matchX_any(LS patterns, S s) {
2  
  ret matchX_any(patterns, s, null);
3  
}
4  
5  
sbool matchX_any(LS patterns, S s, Matches m) {
6  
  for (S pat2 : unnull(patterns))
7  
    if (matchX(pat2, s, m))
8  
      true;
9  
  false;
10  
}

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: 312 / 349
Version history: 2 change(s)
Referenced in: [show references]