Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35826
| Date | 2012-12-31 11:29 +1100 |
|---|---|
| From | Cameron Simpson <cs@zip.com.au> |
| Subject | Re: ignore case only for a part of the regex? |
| References | <roy-0011CF.12321430122012@news.panix.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1478.1356913760.29569.python-list@python.org> (permalink) |
On 30Dec2012 12:32, Roy Smith <roy@panix.com> wrote:
| 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
[...]
| 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.
One might argue that people are not obliged to use the fuzzy matching
syntax (or any other part, really). It should be a matter of taste.
Of course, some people have bad taste:-)
However if you need fuzzy matching, it is very handy if there's a library to
hand that offers it.
Cheers,
--
Cameron Simpson <cs@zip.com.au>
Yes, sometimes Perl looks like line-noise to the uninitiated, but to the
seasoned Perl programmer, it looks like checksummed line-noise with a mission
in life. - The Llama Book
Back to comp.lang.python | Previous | Next — Previous 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