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

7
LINES

< > BotCompany Repo | #1004417 // regexpAll return all full matches

JavaX fragment (include)

static L<S> regexpAll(S pattern, S text) {
  new L<S> matches;
  Matcher matcher = regexp(pattern, text);
  while (matcher.find())
    matches.add(matcher.group());
  return matches;
}

Author comment

Began life as a copy of #2000489

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004417
Snippet name: regexpAll return all full matches
Eternal ID of this version: #1004417/3
Text MD5: 1969e1fd8b5bcefc96777ad83b0df37e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-25 12:27:07
Source code size: 190 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 475 / 491
Version history: 2 change(s)
Referenced in: [show references]