Skip to main content
7 events
when toggle format what by license comment
Jul 14, 2017 at 14:13 vote accept Marty C.
Jul 14, 2017 at 14:11 history edited Oleksandr Berehovskyi CC BY-SA 3.0
added 47 characters in body
Jul 14, 2017 at 14:06 comment added Oleksandr Berehovskyi @MartyC. I've updated my answer with case, when there could be unknown number of groups
Jul 14, 2017 at 14:05 history edited Oleksandr Berehovskyi CC BY-SA 3.0
added 459 characters in body
Jul 14, 2017 at 13:57 comment added Marty C. Thank you also for pointing out the unclear requirement in my question. I've edited the question to explain that I'm seeking a dynamic solution.
Jul 14, 2017 at 13:56 comment added Marty C. Thanks for the first answer, Alex. I'm looking for a solution that isn't hard-constrained to only process three capture groups. The number of capture groups is variable: could be 2, 3, 5 or any number.
Jul 14, 2017 at 13:52 history answered Oleksandr Berehovskyi CC BY-SA 3.0