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

7
LINES

< > BotCompany Repo | #1028531 // regexpFindRangesIC

JavaX fragment (include)

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

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