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)

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

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: 495 / 548
Referenced in: [show references]