1 | static LS regexpExtractAll(S pat, S s) { |
2 | if (s == null) null; |
3 | Matcher m = regexpMatcher(pat, s); |
4 | new LS out; |
5 | while (m.find()) |
6 | out.add(m.group()); |
7 | ret out; |
8 | } |
Began life as a copy of #1016487
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1019758 |
Snippet name: | regexpExtractAll - return all whole matches |
Eternal ID of this version: | #1019758/1 |
Text MD5: | 7d5d7edd13cad332806588190130863c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-25 02:15:06 |
Source code size: | 177 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 318 / 379 |
Referenced in: | [show references] |