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

10
LINES

< > BotCompany Repo | #1017909 // matchStartAny_returnPattern

JavaX fragment (include)

static S matchStartAny_returnPattern(Collection<S> patterns, S s, Matches m) {
  for (S pattern : unnull(patterns))
    if (matchStart(pattern, s, m))
      ret pattern;
  null;
}

static S matchStartAny_returnPattern(Collection<S> patterns, S s) {
  ret matchStartAny_returnPattern(patterns, s, null);
}

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: 449 / 455
Version history: 3 change(s)
Referenced in: [show references]