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

10
LINES

< > BotCompany Repo | #1017909 // matchStartAny_returnPattern

JavaX fragment (include)

1  
static S matchStartAny_returnPattern(Collection<S> patterns, S s, Matches m) {
2  
  for (S pattern : unnull(patterns))
3  
    if (matchStart(pattern, s, m))
4  
      ret pattern;
5  
  null;
6  
}
7  
8  
static S matchStartAny_returnPattern(Collection<S> patterns, S s) {
9  
  ret matchStartAny_returnPattern(patterns, s, null);
10  
}

Author comment

Began life as a copy of #1017907

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017909
Snippet name: matchStartAny_returnPattern
Eternal ID of this version: #1017909/4
Text MD5: f23deff0ee173701bcf884aa63b7bbdc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-20 11:48:35
Source code size: 313 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 450 / 456
Version history: 3 change(s)
Referenced in: [show references]