sre is broken in SuSE 9.2
Serge Orlov
Serge.Orlov at gmail.com
Sat Feb 12 03:17:15 EST 2005
Fredrik Lundh wrote:
> Serge Orlov wrote:
>
>>>>>> re.compile(ur'\w+', re.U).findall(u'\xb5\xba\xe4\u0430')
>>>>>> [u'\xb5\xba\xe4\u0430']
>>
>> I can't find the strict definition of isalpha, but I believe average
>> C program shouldn't care about the current locale alphabet, so
>> isalpha is a union of all supported characters in all alphabets
>
> btw, what does isalpha have to do with this example?
It has to do with this thread. u'\xe4'.isalpha() returns false in
Suse. It's in the same boat as \w
Serge.
More information about the Python-list
mailing list