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

8
LINES

< > BotCompany Repo | #1019758 // regexpExtractAll - return all whole matches

JavaX fragment (include)

static LS regexpExtractAll(S pat, S s) {
  if (s == null) null;
  Matcher m = regexpMatcher(pat, s);
  new LS out;
  while (m.find())
    out.add(m.group());
  ret out;
}

Author comment

Began life as a copy of #1016487

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1019758
Snippet name: regexpExtractAll - return all whole matches
Eternal ID of this version: #1019758/1
Text MD5: 7d5d7edd13cad332806588190130863c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-25 02:15:06
Source code size: 177 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 316 / 377
Referenced in: [show references]