Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35807
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: ignore case only for a part of the regex? |
| Date | 2012-12-30 12:32 -0500 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-0011CF.12321430122012@news.panix.com> (permalink) |
| References | <50e02485$0$3109$ba620e4c@news.skynet.be> <mailman.1467.1356885520.29569.python-list@python.org> |
In article <mailman.1467.1356885520.29569.python-list@python.org>,
Vlastimil Brom <vlastimil.brom@gmail.com> wrote:
> you may check the new regex implementation for python
> http://pypi.python.org/pypi/regex
Wow, I wasn't aware of such an effort.
At first reading, I'm amused by the concept of "strict fuzzy matching".
Those of us with long memories will be confused by the name of the
module, however. To me, "regex" is the old version, and "re" is the new
(http://docs.python.org/release/1.5.1/lib/module-regex.html). Now, it's
going to be "regex" is either the really old, or the really new version,
and "re" is what came in between. I suppose the next iteration after
this will be called "re" again :-)
I'm not sure I like the fuzzy matching stuff. On the one hand, it can
be useful. On the other hand, people already complain about how
difficult it can be to read regexes. Once we add things like
{i<=1,d<=1,s<=1,2i+2d+1s<=4} in the mix, it's going to be total line
noise.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
re: ignore case only for a part of the regex? Helmut Jarausch <jarausch@skynet.be> - 2012-12-30 11:24 +0000
Re: ignore case only for a part of the regex? Roy Smith <roy@panix.com> - 2012-12-30 10:20 -0500
Re: ignore case only for a part of the regex? Joel Goldstick <joel.goldstick@gmail.com> - 2012-12-30 10:41 -0500
Re: ignore case only for a part of the regex? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-01 04:14 +0000
Re: ignore case only for a part of the regex? Vlastimil Brom <vlastimil.brom@gmail.com> - 2013-01-02 00:09 +0100
Re: ignore case only for a part of the regex? wxjmfauth@gmail.com - 2013-01-02 06:17 -0800
Re: ignore case only for a part of the regex? wxjmfauth@gmail.com - 2013-01-02 06:17 -0800
Re: ignore case only for a part of the regex? Vlastimil Brom <vlastimil.brom@gmail.com> - 2012-12-30 17:38 +0100
Re: ignore case only for a part of the regex? Roy Smith <roy@panix.com> - 2012-12-30 12:32 -0500
Re: ignore case only for a part of the regex? MRAB <python@mrabarnett.plus.com> - 2012-12-30 18:04 +0000
Re: ignore case only for a part of the regex? Cameron Simpson <cs@zip.com.au> - 2012-12-31 11:29 +1100
csiph-web