Regular Expression for words (with umlauts, without numbers)

Vlastimil Brom vlastimil.brom at gmail.com
Fri May 13 19:30:03 EDT 2011


2011/5/13 MRAB <python at mrabarnett.plus.com>:
> The latest release is here:
>
>    http://pypi.python.org/pypi/regex
> --
Wow, set operators were added recently ...
https://code.google.com/p/mrab-regex-hg/wiki/GeneralDetails
ok, it might be not necassary to sove this exact problem with respect
to the solutions already mentioned, but I quite like this extra
possibilities,
anyway, the double negation [^\W] is not needed here:

(?u)[\w--\d]

Thank you very much for this excellent library!
   vbr



More information about the Python-list mailing list