Message338582
From the docs:
"""If capturing parentheses are used in pattern, then the text of all groups in the pattern are also returned as part of the resulting list."""
The pattern does contain a capture, so that's why the result has additional '1' and '2'.
Presumably, Java's split doesn't do that.
Not a bug. |
|
Date |
User |
Action |
Args |
2019-03-22 03:26:31 | mrabarnett | set | recipients:
+ mrabarnett, ezio.melotti, Elias Tarhini |
2019-03-22 03:26:31 | mrabarnett | set | messageid: <1553225191.49.0.422515007837.issue36397@roundup.psfhosted.org> |
2019-03-22 03:26:31 | mrabarnett | link | issue36397 messages |
2019-03-22 03:26:31 | mrabarnett | create | |
|