1 | static L<S> matcherGroups(Matcher m) { |
2 | new L<S> l; |
3 | int n = m.groupCount(); |
4 | for (int i = 0; i <= n; i++) |
5 | l.add(m.group(i)); |
6 | ret l; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011259 |
Snippet name: | matcherGroups - get all groups from a Matcher (including full match at index 0) |
Eternal ID of this version: | #1011259/4 |
Text MD5: | c75e874ec7c1fdfb8d412aa833b34dca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-21 21:33:12 |
Source code size: | 149 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 389 / 423 |
Version history: | 3 change(s) |
Referenced in: | [show references] |