[Python-Dev] unicode alphanumerics

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sat, 1 Jul 2000 19:13:51 +0200

mal wrote:
> This will give you all cased chars along with all digits;
> it ommits the non-cased ones.

but of course...

> It's a good start, but probably won't cover the full range
> of letters + numbers.
> Perhaps we need another table for isalpha in unicodectype.c ?
> (Or at least one which defines all non-cased letters.)

+1 from me (SRE needs this, and it doesn't really make much
sense to add unicode tables to SRE just because the built-in
ones are slightly incomplete...)

how about this plan:

-- you add a Py_UNICODE_ALPHA to unicodeobject.h asap,
   which does exactly that (or I can do that, if you prefer).
   (and maybe even a Py_UNICODE_ALNUM)

-- I change SRE to use that asap.

-- you, I, or someone else add a better implementation,
   some other day.