Message337275
| Author | steven.daprano |
|---|---|
| Recipients | ezio.melotti, josh.r, lprice, mrabarnett, steven.daprano |
| Date | 2019-03-06.03:54:11 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1551844451.61.0.0966493601051.issue36206@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
You don't escape the text you are searching. Try this:
py> re.match(re.escape('-'), "-")
<_sre.SRE_Match object; span=(0, 1), match='-'>
py> re.match(re.escape('a-c'), "a-c")
<_sre.SRE_Match object; span=(0, 3), match='a-c'> |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-03-06 03:54:11 | steven.daprano | set | recipients: + steven.daprano, ezio.melotti, mrabarnett, josh.r, lprice |
| 2019-03-06 03:54:11 | steven.daprano | set | messageid: <1551844451.61.0.0966493601051.issue36206@roundup.psfhosted.org> |
| 2019-03-06 03:54:11 | steven.daprano | link | issue36206 messages |
| 2019-03-06 03:54:11 | steven.daprano | create | |