Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5326

Re: Regular Expression for words (with umlauts, without numbers)

References <878vua4mjp.fsf@pcwi7557.uni-muenster.de> <BANLkTinVM0v-Ujku5ZgXYXM0oP6VATEHQg@mail.gmail.com> <4DCD6BBF.70308@mrabarnett.plus.com>
Date 2011-05-14 01:30 +0200
Subject Re: Regular Expression for words (with umlauts, without numbers)
From Vlastimil Brom <vlastimil.brom@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1529.1305329405.9059.python-list@python.org> (permalink)

Show all headers | View raw


2011/5/13 MRAB <python@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Regular Expression for words (with umlauts, without numbers) Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-05-14 01:30 +0200

csiph-web