| 1 | static LS regexpAllFirstGroups(S pattern, S text) {
 | 
| 2 | new LS l; | 
| 3 | Matcher matcher = regexp(pattern, text); | 
| 4 | while (matcher.find()) | 
| 5 | l.add(matcher.group(1)); | 
| 6 | ret l; | 
| 7 | } | 
Began life as a copy of #1016200
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021196 | 
| Snippet name: | regexpAllFirstGroups - first group of all matches | 
| Eternal ID of this version: | #1021196/3 | 
| Text MD5: | 6254059342823395fb52186940601a90 | 
| 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:33:47 | 
| Source code size: | 177 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 508 / 591 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |