Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'syntax': 0.03; 'python': 0.09; 'part,': 0.09; 'subject:ignore': 0.09; 'cc:addr:python-list': 0.10; 'library': 0.15; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'fuzzy': 0.16; 'llama': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'programmer,': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:edu.au': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'roy': 0.16; 'simpson': 0.16; 'stuff.': 0.16; 'subject:case': 0.16; 'wrote:': 0.17; 'skip:{ 20': 0.17; '(or': 0.18; 'cheers,': 0.23; 'cc:2**0': 0.23; 'matching': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'looks': 0.26; 'argue': 0.29; 'complain': 0.29; 'obliged': 0.29; 'perl': 0.29; "i'm": 0.29; 'url:python': 0.32; 'sometimes': 0.35; 'subject:?': 0.35; 'add': 0.36; 'but': 0.36; 'url:org': 0.36; 'received:au': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'bad': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'things': 0.38; 'sure': 0.38; 'content-disposition:inline': 0.60; 'matter': 0.61; 'total': 0.65; 'useful.': 0.65; 'smith': 0.71; 'article': 0.78; 'life.': 0.81; 'hand': 0.82; 'hand,': 0.97 Date: Mon, 31 Dec 2012 11:29:17 +1100 From: Cameron Simpson To: Roy Smith Subject: Re: ignore case only for a part of the regex? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356913760 news.xs4all.nl 6912 [2001:888:2000:d::a6]:38879 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35826 On 30Dec2012 12:32, Roy Smith wrote: | In article , | Vlastimil Brom 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 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