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

5
LINES

< > BotCompany Repo | #1013199 // regexpFirstGroups - make Java regexp Matcher and return all groups of first match

JavaX fragment (include)

static L<S> regexpFirstGroups(S pat, S s) {
  if (s == null) null;
  Matcher m = regexp(pat, s);
  ret m.find() ? regexpGetGroups(m) : null;
}

Author comment

Began life as a copy of #1007002

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013199
Snippet name: regexpFirstGroups - make Java regexp Matcher and return all groups of first match
Eternal ID of this version: #1013199/5
Text MD5: 524675023f510f86bfb43c8735c5ca9c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-29 18:39:18
Source code size: 146 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 437 / 479
Version history: 4 change(s)
Referenced in: [show references]