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

10
LINES

< > BotCompany Repo | #1013997 // matchStartOneOf

JavaX fragment (include)

1  
static bool matchStartOneOf(S s, Matches m, S... pats) {
2  
  for (S pat : pats)
3  
    if (matchStartX(pat, s, m))
4  
      true;
5  
  false;
6  
}
7  
8  
static bool matchStartOneOf(S s, S... pats) {
9  
  ret matchStartOneOf(s, null, pats);
10  
}

Author comment

Began life as a copy of #1013996

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013997
Snippet name: matchStartOneOf
Eternal ID of this version: #1013997/1
Text MD5: b844e8fb5449826a08f14c857e9de0a9
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-19 02:14:35
Source code size: 228 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 403 / 413
Referenced in: [show references]