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

5
LINES

< > BotCompany Repo | #1019825 // regexpExtractIC - return whole first match (ignoring case)

JavaX fragment (include)

1  
static S regexpExtractIC(S pat, S s) {
2  
  if (s == null) null;
3  
  Matcher m = regexpMatcherIC(pat, s);
4  
  ret m.find() ? m.group() : null;
5  
}

Author comment

Began life as a copy of #1016487

download  show line numbers  debug dex  old transpilations   

Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1019825
Snippet name: regexpExtractIC - return whole first match (ignoring case)
Eternal ID of this version: #1019825/1
Text MD5: 8d31d326b2deed1f78f8f535cdcf7293
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-27 14:03:01
Source code size: 141 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 354 / 360
Referenced in: [show references]