This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | sven.siegmund |
|---|---|
| Recipients | sven.siegmund |
| Date | 2008年05月12日.08:43:24 |
| SpamBayes Score | 0.06982748 |
| Marked as misclassified | No |
| Message-id | <1210581845.07.0.550614143529.issue2834@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
re cannot ignore case of special latin characters:
Python 3.0a5 (py3k:62932M, May 9 2008, 16:23:11) [MSC v.1500 32 bit
(Intel)] on win32
>>> 'Á'.lower() == 'á' and 'á'.upper() == 'Á'
True
>>> import re
>>> rx = re.compile('Á', re.IGNORECASE)
>>> rx.match('á') # should match but won't
>>> rx.match('Á') # will match
<_sre.SRE_Match object at 0x014B08A8>
>>> rx = re.compile('á', re.IGNORECASE)
>>> rx.match('Á') # should match but won't
>>> rx.match('á') # will match
<_sre.SRE_Match object at 0x014B08A8> |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年05月12日 08:44:14 | sven.siegmund | set | spambayes_score: 0.0698275 -> 0.06982748 recipients: + sven.siegmund |
| 2008年05月12日 08:44:10 | sven.siegmund | set | spambayes_score: 0.0698275 -> 0.0698275 messageid: <1210581845.07.0.550614143529.issue2834@psf.upfronthosting.co.za> |
| 2008年05月12日 08:44:01 | sven.siegmund | link | issue2834 messages |
| 2008年05月12日 08:43:55 | sven.siegmund | create | |