Regex similar to "^(?u)\w$", but without digits?

Andreas a.pfrengle at gmail.com
Sat Apr 11 14:29:35 EDT 2009


Hello,

I'd like to create a regex that captures any unicode character, but
not the underscore and the digits 0-9. "^(?u)\w$" captures them also.
Is there a possibility to restrict an expression like "\w" to "\w
without [0-9_]"?
I'm using python 2.5.4

Thanks in advance,
Andreas



More information about the Python-list mailing list