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

7
LINES

< > BotCompany Repo | #1028531 // regexpFindRangesIC

JavaX fragment (include)

1  
static L<IntRange> regexpFindRangesIC(S pat, S s) {
2  
  Matcher m = regexpMatcherIC(pat, s);
3  
  new L<IntRange> l;
4  
  while (m.find())
5  
    l.add(IntRange(m.start(), m.end());
6  
  ret l;
7  
}

Author comment

Began life as a copy of #1028529

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028531
Snippet name: regexpFindRangesIC
Eternal ID of this version: #1028531/1
Text MD5: e1d806312f4ad6b401e26bd688284dda
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-24 18:49:23
Source code size: 187 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 242
Referenced in: [show references]