Libraryless. Click here for Pure Java version (2700L/17K).
static L<IntRange> regexpFindRanges(S pat, S s) { Matcher m = regexpMatcher(pat, s); new L<IntRange> l; while (m.find()) l.add(IntRange(m.start(), m.end()); ret l; }
Began life as a copy of #1028325
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: | #1028529 |
Snippet name: | regexpFindRanges |
Eternal ID of this version: | #1028529/1 |
Text MD5: | 7d79e9bf0b5cbb8bc8f2c71e8a84ad59 |
Transpilation MD5: | 82478edaf11446e79e5587a558935ebe |
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:46:38 |
Source code size: | 183 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 278 / 381 |
Referenced in: | [show references] |