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

4
LINES

< > BotCompany Repo | #1007004 // regexpFirstGroupIC - make Java regexp Matcher and return first group matched (ignore case)

JavaX fragment (include)

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

Author comment

Began life as a copy of #1007002

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007004
Snippet name: regexpFirstGroupIC - make Java regexp Matcher and return first group matched (ignore case)
Eternal ID of this version: #1007004/1
Text MD5: 48ab2a50de97bc94d82b8fc68f2b6c7a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-25 13:39:02
Source code size: 121 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 547
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012188 - regexpMatchGroupsIC - make Java regexp Matcher, do full match and return groups (ignoring case)