Libraryless. Click here for Pure Java version (2557L/16K).
1 | static L<Int> indicesOfRegexp(S pat, S s) { |
2 | Matcher m = regexpMatcher(pat, s); |
3 | new L<Int> l; |
4 | while (m.find()) |
5 | l.add(m.start(); |
6 | ret l; |
7 | } |
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: | #1029077 |
Snippet name: | indicesOfRegexp |
Eternal ID of this version: | #1029077/1 |
Text MD5: | 99215e4902c22078df10579deaaeaa83 |
Transpilation MD5: | e6b3c47f19111c92518831f391606c99 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-19 01:30:52 |
Source code size: | 153 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 179 / 277 |
Referenced in: | [show references] |