Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35808
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python@mrabarnett.plus.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'url:pypi': 0.03; 'syntax': 0.03; 'suppose': 0.07; 'python': 0.09; 'imho.': 0.09; 'subject:ignore': 0.09; ':-)': 0.13; 'between.': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'fuzzy': 0.16; 'iteration': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'roy': 0.16; 'stuff.': 0.16; 'subject:case': 0.16; 'url:html)': 0.16; 'wow,': 0.16; 'wrote:': 0.17; 'module,': 0.17; 'bit': 0.21; 'effort.': 0.22; 'matching': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'complain': 0.29; 'received:192.168.1.3': 0.29; "i'm": 0.29; 'version,': 0.30; 'url:python': 0.32; 'to:addr :python-list': 0.33; 'subject:?': 0.35; 'next': 0.35; 'add': 0.36; 'really': 0.36; 'url:org': 0.36; "wasn't": 0.36; 'subject:: ': 0.38; 'things': 0.38; 'url:docs': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'called': 0.39; 'received:192.168': 0.40; 'url:5': 0.61; 'first': 0.61; 'useful.': 0.65; 'header:Reply-To:1': 0.68; 'smith': 0.71; 'reply-to:no real name:2**0': 0.72; 'saw': 0.75; 'article': 0.78; 'old,': 0.83; 'memories': 0.84; 'reading,': 0.84; 'reply-to:addr:python.org': 0.84; 'url:tre': 0.84; 'hand,': 0.97 |
| X-CM-Score | 0.00 |
| X-CNFS-Analysis | v=2.0 cv=XeZXOvF5 c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=O2Kvzccb_dQA:10 a=Fqv6LC0Ce4YA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=E7It5QxQ_6sA:10 a=pGLkceISAAAA:8 a=dkDOvZwhAAAA:8 a=4aLRgLywdNPonoBxFIoA:9 a=wPNLvfGTeEIA:10 a=CLh6IoItyJMA:10 a=VhVvL8HfBcoA:10 a=MSl-tDqOz04A:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117 |
| X-AUTH | mrabarnett:2500 |
| Date | Sun, 30 Dec 2012 18:04:02 +0000 |
| From | MRAB <python@mrabarnett.plus.com> |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: ignore case only for a part of the regex? |
| References | <50e02485$0$3109$ba620e4c@news.skynet.be> <mailman.1467.1356885520.29569.python-list@python.org> <roy-0011CF.12321430122012@news.panix.com> |
| In-Reply-To | <roy-0011CF.12321430122012@news.panix.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | python-list@python.org |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1468.1356890644.29569.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1356890644 news.xs4all.nl 6916 [2001:888:2000:d::a6]:42967 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:35808 |
Show key headers only | View raw
On 2012-12-30 17:32, Roy Smith 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
>
> 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.
>
The request for fuzzy matching came after someone saw the TRE library:
http://laurikari.net/tre/
The difference is that the syntax is a bit clearer, IMHO. :-)
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