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

7
LINES

< > BotCompany Repo | #1013727 // regexpFirstGroupOneOf - make Java regexp Matcher and return first group matched

JavaX fragment (include)

1  
static S regexpFirstGroupOneOf(L<S> pats, S s) {
2  
  for (S pat : pats) {
3  
    S g = regexpFirstGroup(pat, s);
4  
    if (g != null) ret g;
5  
  }
6  
  null;
7  
}

Author comment

Began life as a copy of #1007002

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: #1013727
Snippet name: regexpFirstGroupOneOf - make Java regexp Matcher and return first group matched
Eternal ID of this version: #1013727/1
Text MD5: 23d01605422167153ea2276fd3768d84
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-28 15:11:53
Source code size: 153 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 345 / 380
Referenced in: [show references]