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

7
LINES

< > BotCompany Repo | #1016200 // regexpAllGroups

JavaX fragment (include)

static LL<S> regexpAllGroups(S pattern, S text) {
  new LL<S> l;
  Matcher matcher = regexpCompile(pattern).matcher(text);
  while (matcher.find())
    l.add(regexpGetGroups(matcher));
  ret l;
}

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: 394 / 401
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021196 - regexpAllFirstGroups - first group of all matches
#1024117 - regexpICFullMatch_groups