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

8
LINES

< > BotCompany Repo | #1035125 // regexpLastGroupsIC - make case-insensitive Java regexp Matcher and return all groups of last match

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7673L/43K).

1  
static LS regexpLastGroupsIC(S pat, S s) {
2  
  if (s == null) null;
3  
  Matcher m = regexpIC(pat, s);
4  
  LS groups = null;
5  
  while (m.find())
6  
    groups = regexpGetGroups(m);
7  
  ret groups;
8  
}

Author comment

Began life as a copy of #1022664

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035125
Snippet name: regexpLastGroupsIC - make case-insensitive Java regexp Matcher and return all groups of last match
Eternal ID of this version: #1035125/1
Text MD5: 3b0dbb7bb65f9d958ba79008963dedef
Transpilation MD5: d4467aaf05b82e93baf4c5709c76d95c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-30 17:27:31
Source code size: 192 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 106 / 157
Referenced in: [show references]