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: 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: References: <30949a2a-bfd4-4d22-a56b-22b1c6cdf1e8@m11g2000yqe.googlegroups.com> From: Devin Jeanpierre Date: Wed, 25 Jan 2012 21:24:14 -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: 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 On Wed, Jan 25, 2012 at 7:14 PM, Rick Johnson 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