Message291090
You can use mo.group(1, 2). If you need to slice arbitrary groups, you can slice the result of the groups() method (which is just a tuple).
The re module is already complex, and let use existing API rather than add the new one. |
|
Date |
User |
Action |
Args |
2017-04-03 18:45:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eric.smith, ezio.melotti, mrabarnett, xiang.zhang, selik |
2017-04-03 18:45:02 | serhiy.storchaka | set | messageid: <1491245102.02.0.87914420765.issue29965@psf.upfronthosting.co.za> |
2017-04-03 18:45:02 | serhiy.storchaka | link | issue29965 messages |
2017-04-03 18:45:01 | serhiy.storchaka | create | |
|