Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19429

Re: PyWart: Python regular expression syntax is not intuitive.

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
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; 'subject:Python': 0.05; 'received:verizon.net': 0.07; 'terry': 0.07; 'versions.': 0.07; 'python': 0.08; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'library': 0.13; 'extensions': 0.15; 'syntax': 0.15; 'reedy': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'subject:syntax': 0.16; 'wrote:': 0.16; 'perl': 0.18; 'jan': 0.19; 'subject:not': 0.21; 'extension': 0.21; 'header:In-Reply-To:1': 0.22; 'pm,': 0.26; 'url:wiki': 0.29; 'source': 0.32; 'header:User- Agent:1': 0.33; 'to:addr:python-list': 0.33; 'this.': 0.33; 'header:X-Complaints-To:1': 0.34; 'question': 0.35; 'but': 0.37; 'received:org': 0.37; 'some': 0.38; 'several': 0.38; 'think': 0.38; 'open': 0.38; 'url:en': 0.39; 'url:org': 0.39; 'either': 0.39; 'johnson': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'believe': 0.65; 'programs,': 0.80; '12:16': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: PyWart: Python regular expression syntax is not intuitive.
Date Wed, 25 Jan 2012 15:33:53 -0500
References <30949a2a-bfd4-4d22-a56b-22b1c6cdf1e8@m11g2000yqe.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-74-109-121-73.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <30949a2a-bfd4-4d22-a56b-22b1c6cdf1e8@m11g2000yqe.googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
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.5091.1327523659.27778.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1327523659 news.xs4all.nl 6898 [2001:888:2000:d::a6]:41450
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19429

Show key headers only | View raw


On 1/25/2012 12:16 PM, Rick Johnson wrote:
>
> (?...)  # Base Extension Syntax
> All extensions are wrapped in parenthesis and start with a question
> mark, but i believe the question mark was a very bad choice, since the

I think that syntax came either from Perl or the pcre library used by 
several open source programs, including several Python versions.
https://en.wikipedia.org/wiki/Pcre
has  some info on this.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PyWart: Python regular expression syntax is not intuitive. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 09:16 -0800
  Re: PyWart: Python regular expression syntax is not intuitive. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 09:33 -0800
  Re: PyWart: Python regular expression syntax is not intuitive. Duncan Booth <duncan.booth@invalid.invalid> - 2012-01-25 19:32 +0000
    Re: PyWart: Python regular expression syntax is not intuitive. Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-01-25 18:19 -0500
  Re: PyWart: Python regular expression syntax is not intuitive. Ian Kelly <ian.g.kelly@gmail.com> - 2012-01-25 13:17 -0700
    Re: PyWart: Python regular expression syntax is not intuitive. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 13:19 -0800
      Re: PyWart: Python regular expression syntax is not intuitive. Duncan Booth <duncan.booth@invalid.invalid> - 2012-01-25 21:41 +0000
        Re: PyWart: Python regular expression syntax is not intuitive. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 14:26 -0800
      Re: PyWart: Python regular expression syntax is not intuitive. Ian Kelly <ian.g.kelly@gmail.com> - 2012-01-25 16:36 -0700
        Re: PyWart: Python regular expression syntax is not intuitive. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 16:14 -0800
          Re: PyWart: Python regular expression syntax is not intuitive. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-26 01:58 +0000
          Re: PyWart: Python regular expression syntax is not intuitive. Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-01-25 21:24 -0500
            Re: PyWart: Python regular expression syntax is not intuitive. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 20:21 -0800
          Re: PyWart: Python regular expression syntax is not intuitive. Evan Driscoll <edriscoll@wisc.edu> - 2012-01-25 23:38 -0600
    Re: PyWart: Python regular expression syntax is not intuitive. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-26 05:28 +0000
  Re: PyWart: Python regular expression syntax is not intuitive. Terry Reedy <tjreedy@udel.edu> - 2012-01-25 15:33 -0500
  Re: PyWart: Python regular expression syntax is not intuitive. Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-01-25 18:28 -0500
    Re: PyWart: Python regular expression syntax is not intuitive. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 15:44 -0800
      Re: PyWart: Python regular expression syntax is not intuitive. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-26 05:28 +0000
  Re: PyWart: Python regular expression syntax is not intuitive. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-01-26 01:54 +0000
    Re: PyWart: Python regular expression syntax is not intuitive. Michael Torrie <torriem@gmail.com> - 2012-01-25 19:05 -0700

csiph-web