Unicode classes of characters in Pythons' re's like in Perl?

Roman Suzi rnd at onego.ru
Tue Jul 30 04:15:29 EDT 2002


Hello!

Reading XML Schema docs I found that there are some useful extensions
to regular expressions like an ability to specify class of characters.
For example,

[\p{Lu}]

will match any uppercase letters.

Is the feature planned in Python re too?

Sincerely yours, Roman A.Suzi
-- 
 - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
 





More information about the Python-list mailing list