Message338239
Fabrod, this has nothing to do with the square brackets. It is your assumption that the return value should be the same that is wrong. Cf.:
>>> re.findall(r'a.+', 'abc')
['abc']
>>> re.findall(r'a(.+)', 'abc')
['bc']
This is the correct documented behaviour. |
|
Date |
User |
Action |
Args |
2019-03-18 15:19:52 | SilentGhost | set | recipients:
+ SilentGhost, matrixise, Farbod Safe2 |
2019-03-18 15:19:52 | SilentGhost | set | messageid: <1552922392.77.0.371975467317.issue36349@roundup.psfhosted.org> |
2019-03-18 15:19:52 | SilentGhost | link | issue36349 messages |
2019-03-18 15:19:52 | SilentGhost | create | |
|