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


Groups > comp.lang.python > #19463

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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jeanpierreda@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'parsers': 0.09; 'syntax.': 0.09; '25,': 0.12; 'useful,': 0.13; 'cc:addr:python-list': 0.15; 'germane': 0.16; 'neat': 0.16; 'parser,': 0.16; 're,': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'subject:syntax': 0.16; 'wrote:': 0.16; 'wed,': 0.17; 'example.': 0.18; 'jan': 0.19; 'subject:not': 0.21; 'cc:no real name:2**0': 0.21; 'maybe': 0.21; 'header:In-Reply- To:1': 0.22; 'cc:2**0': 0.25; 'module': 0.26; 'pm,': 0.26; 'fact': 0.27; 'message-id:@mail.gmail.com': 0.28; 'module.': 0.28; 'cc:addr:python.org': 0.29; 'generally': 0.30; "it'd": 0.30; 'received:209.85.210.46': 0.30; 'received:mail- pz0-f46.google.com': 0.30; 'things': 0.35; 'regular': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.38; 'easier': 0.38; 'johnson': 0.39; 'received:209': 0.39; 'subject:: ': 0.39; 'change': 0.40; 'more': 0.61; 'believe': 0.65; 'gain': 0.75; 'coexist': 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=bUXFQtPfxa5THnDaM6rGw+o8HRz45J6bpd4RZW1/gPQ=; b=cpiTcdRt9gpAUuAOdHwBhmQD9GfBa472x7FEcwKRB5glnen10l1lIhIx0emUq8uALg ZpG3fJBX1DGNjZaHB3O1t+kjVxPYML1p2Ztvmbju9Og6BBKj5WVk77RM6ZTNW5gjwTRM BIMTcCQudy+GoBDB46Gjx26jLwzVG8hJnL6BI=
MIME-Version 1.0
In-Reply-To <de407e6d-e508-4650-8531-8c3f515ab812@f12g2000yqo.googlegroups.com>
References <30949a2a-bfd4-4d22-a56b-22b1c6cdf1e8@m11g2000yqe.googlegroups.com> <mailman.5090.1327522663.27778.python-list@python.org> <e8a96135-3444-4484-97f0-3ae196f82f5e@p21g2000yqm.googlegroups.com> <mailman.5101.1327534637.27778.python-list@python.org> <de407e6d-e508-4650-8531-8c3f515ab812@f12g2000yqo.googlegroups.com>
From Devin Jeanpierre <jeanpierreda@gmail.com>
Date Wed, 25 Jan 2012 21:24:14 -0500
Subject Re: PyWart: Python regular expression syntax is not intuitive.
To Rick Johnson <rantingrickjohnson@gmail.com>
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 <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.5108.1327544703.27778.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1327544703 news.xs4all.nl 6917 [2001:888:2000:d::a6]:45237
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19463

Show key headers only | View raw


On Wed, Jan 25, 2012 at 7:14 PM, Rick Johnson
<rantingrickjohnson@gmail.com> wrote:
> It is germane in the fact that i believe PyParsing, re, and my new
> regex module can co-exist in harmony.

If all you're going to change is the parser, maybe it'd be easier to
get things to coexist if parsers were pluggable in the re module.

It's more generally useful, too. Would let re gain a PyParsing/SNOBOL
like expression "syntax", for example. Or a regular grammar syntax.
Neat for experimentation.

-- Devin

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