Message91393
As per the Python documentation, the following regular expression should
produce a list containing the strings '6.7', 7.33', and '9':
re.findall('(-?\d+[.]\d+)|(-?\d+[.]?)|(-?[.]\d+)', 'asdf6.7jjjj7.33ff9')
Instead, it generates a list of tuples. Either the documentation should
be changed to make it consistent with what re.findall is actually doing,
or, better yet, re.findall should be fixed. |
|
Date |
User |
Action |
Args |
2009-08-07 06:00:14 | Phillip.M.Feldman@gmail.com | set | recipients:
+ Phillip.M.Feldman@gmail.com |
2009-08-07 06:00:14 | Phillip.M.Feldman@gmail.com | set | messageid: <1249624814.45.0.837975483748.issue6663@psf.upfronthosting.co.za> |
2009-08-07 06:00:12 | Phillip.M.Feldman@gmail.com | link | issue6663 messages |
2009-08-07 06:00:11 | Phillip.M.Feldman@gmail.com | create | |
|