static bool regexpMatchGroups(S pat, S s, Matches m) {
Matcher matcher = Pattern.compile(pat).matcher(s);
if (!matcher.matches()) false;
if (m != null)
m.m = toStringArray(regexpGetGroups(matcher));
true;
}Began life as a copy of #1013199
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: | #1013255 |
| Snippet name: | regexpMatchGroups - make Java regexp Matcher, match full string and get all groups |
| Eternal ID of this version: | #1013255/3 |
| Text MD5: | c9a30d407bf7be716f62fda1def0bb59 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-30 04:09:15 |
| Source code size: | 224 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 781 / 802 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |