Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'content-type:multipart/signed': 0.09; 'filename:fname piece:signature': 0.09; 'parsers': 0.09; 'syntax.': 0.09; 'useful,': 0.13; '(now': 0.16; 'content-type:application/pgp- signature': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname:signature.asc': 0.16; 'neat': 0.16; 'parser,': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'subject:syntax': 0.16; 'thread.': 0.16; 'wrote:': 0.16; 'example.': 0.18; 'subject:not': 0.21; 'maybe': 0.21; 'header:In- Reply-To:1': 0.22; 'work,': 0.26; 'module.': 0.28; 'generally': 0.30; "it'd": 0.30; 'that,': 0.32; 'idea': 0.32; 'header:User- Agent:1': 0.33; 'to:addr:python-list': 0.33; 'calling': 0.34; 'things': 0.35; 'regular': 0.35; 'but': 0.37; 'received:128': 0.37; 'could': 0.37; 'received:192': 0.38; 'easier': 0.38; 'subject:: ': 0.39; 'change': 0.40; 'to:addr:python.org': 0.40; 'got': 0.40; 'more': 0.61; 'gain': 0.75; '"about': 0.84; 'coexist': 0.84; 'remarkably': 0.84 Date: Wed, 25 Jan 2012 23:38:29 -0600 From: Evan Driscoll User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: PyWart: Python regular expression syntax is not intuitive. References: <30949a2a-bfd4-4d22-a56b-22b1c6cdf1e8@m11g2000yqe.googlegroups.com> In-Reply-To: X-Enigmail-Version: 1.3.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3D87CD7F0AF540245B7F6A99" 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: 44 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1327556384 news.xs4all.nl 6984 [2001:888:2000:d::a6]:50075 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19477 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3D87CD7F0AF540245B7F6A99 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/25/2012 20:24, Devin Jeanpierre wrote: > 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. I don't know what would be involved in that, but if it could be made to work, that sounds to me like a remarkably good idea to have come out of this thread. (Now it's time for my own troll: "About as good of an idea as no longer calling PCRE-alikes 'regular expressions', because they aren't." Ahhh, got that out of my system. :-)) Evan --------------enig3D87CD7F0AF540245B7F6A99 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPIObaAAoJEAOzoR8eZTzgrTEH/Rt+rjEIGldwDR7UvADg1JQ5 z6zV8BzekF4B5Rh6EwEJjvHMyjOhtm26/Bv+dnPmPXsb2j9ogF3EzWXz17veZDm9 9WSYYFBxRGswbzqbFZXZHVp0GGs61c4ArSnqcLyvfdudtNM1rBHWbfmFNBPQceiY 4Uj+iWYLSzuktJ5cEBXC055aIolOyE3/FFh0Q+z9NVOKsWdKWzLHYY5mmpUfw4/a UQN8neyfyWuzxcKDr8QpCBPEZ7vUtC0KCyaVXB7eLUrraiC5994yHyPzHoL5gqaw lwSdlgG6bT1ZHBYu11ahxtVsvrhA8Pk6/21Ri8F8k/lcs4/l2hUMxtkCMcvtlY4= =oRtL -----END PGP SIGNATURE----- --------------enig3D87CD7F0AF540245B7F6A99--