2011/5/13 MRAB <pyt...@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 -- http://mail.python.org/mailman/listinfo/python-list