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

4
LINES

< > BotCompany Repo | #1007002 - regexpFirstGroup - make Java regexp Matcher and return first group matched

JavaX fragment (include)

static S regexpFirstGroup(S pat, S s) {
  Matcher m = regexpMatcher(pat, s);
  if (m.find()) ret m.group(1); else null;
}

Author comment

Began life as a copy of #1004307

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1007002
Snippet name: regexpFirstGroup - make Java regexp Matcher and return first group matched
Eternal ID of this version: #1007002/5
Text MD5: 4c3d3523bbc5c2ad43dce63a436b18ca
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-27 13:54:12
Source code size: 124 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 333 / 347
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1007002 & http://1007002.tinybrain.de