Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'syntax.': 0.09; '25,': 0.12; 'cc:addr:python-list': 0.15; 'syntax': 0.15; '"="': 0.16; 'equality.': 0.16; 'experiments': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'subject:syntax': 0.16; 'wrote:': 0.16; 'wed,': 0.17; 'jan': 0.19; 'subject:not': 0.21; 'cc:no real name:2**0': 0.21; "aren't": 0.21; 'extension': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; '"not': 0.23; 'cc:2**0': 0.25; 'pm,': 0.26; 'message- id:@mail.gmail.com': 0.28; 'matches': 0.28; 'cc:addr:python.org': 0.29; 'closer': 0.30; 'ideal': 0.32; 'received:209.85.160.46': 0.35; 'received:mail-pw0-f46.google.com': 0.35; 'received:209.85.160': 0.35; 'received:google.com': 0.37; 'some': 0.38; 'received:209.85': 0.38; 'should': 0.38; 'possible,': 0.38; 'johnson': 0.39; 'received:209': 0.39; 'subject:: ': 0.39; 'more': 0.61; 'your': 0.61; 'believe': 0.65; 'stand': 0.72; '12:16': 0.84; 'signature.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Ymbj3EvKi3gv6niqp1QH4zpERMvGy5p9cHxJf/Tc+f0=; b=KtOUjYxAJ9SLhtqqJGMqiRZoFwt/y8+OV+jjDUaW+ur+mBYnKxzoMiXqmVNo2byQp+ idePnPFfUOTmiIttuGZds6GLbbr8aGHVs3YIJ9aZTn0Tj1ooST9r04pWwsnoerin2jCY 7RCL38NBLrbqULvS2eXB+5w1mKYCdR2agbb40= MIME-Version: 1.0 In-Reply-To: <30949a2a-bfd4-4d22-a56b-22b1c6cdf1e8@m11g2000yqe.googlegroups.com> References: <30949a2a-bfd4-4d22-a56b-22b1c6cdf1e8@m11g2000yqe.googlegroups.com> From: Devin Jeanpierre Date: Wed, 25 Jan 2012 18:28:27 -0500 Subject: Re: PyWart: Python regular expression syntax is not intuitive. To: Rick Johnson Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1327534150 news.xs4all.nl 6904 [2001:888:2000:d::a6]:42114 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19447 On Wed, Jan 25, 2012 at 12:16 PM, Rick Johnson wrote: > In particular i find the "extension notation" syntax to be woefully > inadequate. You should be able to infer the action of the extension > syntax intuitively, simply from looking at its signature. This is nice in theory. I see no reason to believe this is possible, or that your syntax is closer to this ideal than the existing syntax. Perhaps you should perform some experiments to prove intuitiveness? Science is more convincing than insults. Also, the "!" in negative assertions doesn't stand for "not equal" -- matches aren't equality. It stands for "not". It's the "=" that's a misnomer. -- Devin