Message250364
| Author | Alcolo Alcolo |
|---|---|
| Recipients | Alcolo Alcolo, ezio.melotti, mrabarnett |
| Date | 2015-09-10.12:19:56 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1441887596.73.0.766811958538.issue25054@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Why
re.findall('^|a', 'a') != ['', 'a'] ?
We have:
re.findall('^|a', ' a') == ['', 'a']
and
re.findall('$|a', ' a') == ['a', '']
Capturing '^' take the 1st character. It's look like a bug ... |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-09-10 12:19:56 | Alcolo Alcolo | set | recipients: + Alcolo Alcolo, ezio.melotti, mrabarnett |
| 2015-09-10 12:19:56 | Alcolo Alcolo | set | messageid: <1441887596.73.0.766811958538.issue25054@psf.upfronthosting.co.za> |
| 2015-09-10 12:19:56 | Alcolo Alcolo | link | issue25054 messages |
| 2015-09-10 12:19:56 | Alcolo Alcolo | create | |