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)

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

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