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

7
LINES

< > BotCompany Repo | #1011259 // matcherGroups - get all groups from a Matcher (including full match at index 0)

JavaX fragment (include)

static L<S> matcherGroups(Matcher m) {
  new L<S> l;
  int n = m.groupCount();
  for (int i = 0; i <= n; i++)
    l.add(m.group(i));
  ret l;
}

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: #1011259
Snippet name: matcherGroups - get all groups from a Matcher (including full match at index 0)
Eternal ID of this version: #1011259/4
Text MD5: c75e874ec7c1fdfb8d412aa833b34dca
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-21 21:33:12
Source code size: 149 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 337 / 355
Version history: 3 change(s)
Referenced in: [show references]