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 | humitos |
|---|---|
| Recipients | gvanrossum, humitos, sven.siegmund |
| Date | 2008年06月02日.00:23:01 |
| SpamBayes Score | 0.43068716 |
| Marked as misclassified | No |
| Message-id | <1212366198.45.0.498306468729.issue2834@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I have the same error with the re.LOCALE flag...
[humitos] [~]$ python3.0
Python 3.0a5+ (py3k:63855, Jun 1 2008, 13:05:09)
[GCC 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> rx = re.compile('á', re.LOCALE | re.IGNORECASE)
>>> rx.match('Á')
>>> rx.match('á')
<_sre.SRE_Match object at 0x2b955e204d30>
>>> rx = re.compile('Á', re.IGNORECASE | re.LOCALE)
>>> rx.match('Á')
<_sre.SRE_Match object at 0x2b955e204e00>
>>> rx.match('á')
>>> 'Á'.lower() == 'á' and 'á'.upper() == 'Á'
True
>>> |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月02日 00:23:18 | humitos | set | spambayes_score: 0.430687 -> 0.43068716 recipients: + humitos, gvanrossum, sven.siegmund |
| 2008年06月02日 00:23:18 | humitos | set | spambayes_score: 0.430687 -> 0.430687 messageid: <1212366198.45.0.498306468729.issue2834@psf.upfronthosting.co.za> |
| 2008年06月02日 00:23:02 | humitos | link | issue2834 messages |
| 2008年06月02日 00:23:01 | humitos | create | |