Libraryless. Click here for Pure Java version (2686L/17K).
static IntRange regexpFindRange(S pat, S s) { Matcher m = regexpMatcher(pat, s); ret m.find() ? IntRange(m.start(), m.end()) : null; }
Began life as a copy of #1025617
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: | #1028325 |
Snippet name: | regexpFindRange |
Eternal ID of this version: | #1028325/3 |
Text MD5: | 5aa8f1813f7a69d39a1b7055cece20d3 |
Transpilation MD5: | 55ce60e0ce833640981d9ead57ac8b62 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-11 20:21:05 |
Source code size: | 141 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 205 / 323 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028391 - regexpFindRangeIC #1028529 - regexpFindRanges |