1 | static L<S> regexpAll(S pattern, S text) { |
2 | new L<S> matches; |
3 | Matcher matcher = regexp(pattern, text); |
4 | while (matcher.find()) |
5 | matches.add(matcher.group()); |
6 | return matches; |
7 | } |
Began life as a copy of #2000489
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004417 |
Snippet name: | regexpAll return all full matches |
Eternal ID of this version: | #1004417/3 |
Text MD5: | 1969e1fd8b5bcefc96777ad83b0df37e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-25 12:27:07 |
Source code size: | 190 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 551 / 571 |
Version history: | 2 change(s) |
Referenced in: | [show references] |