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

7
LINES

< > BotCompany Repo | #1016200 // regexpAllGroups

JavaX fragment (include)

1  
static LL<S> regexpAllGroups(S pattern, S text) {
2  
  new LL<S> l;
3  
  Matcher matcher = regexpCompile(pattern).matcher(text);
4  
  while (matcher.find())
5  
    l.add(regexpGetGroups(matcher));
6  
  ret l;
7  
}

Author comment

Began life as a copy of #1004417

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: #1016200
Snippet name: regexpAllGroups
Eternal ID of this version: #1016200/3
Text MD5: 10e72bd704c9dc0ffce418200bfd2a07
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-25 18:44:42
Source code size: 201 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 393 / 401
Version history: 2 change(s)
Referenced in: [show references]