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


Groups > comp.lang.python > #29068 > unrolled thread

Re: equiv of perl regexp grammar?

Started byIan Kelly <ian.g.kelly@gmail.com>
First post2012-09-13 12:54 -0600
Last post2012-09-13 12:54 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: equiv of perl regexp grammar? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-13 12:54 -0600

#29068 — Re: equiv of perl regexp grammar?

FromIan Kelly <ian.g.kelly@gmail.com>
Date2012-09-13 12:54 -0600
SubjectRe: equiv of perl regexp grammar?
Message-ID<mailman.630.1347562513.27098.python-list@python.org>
On Thu, Sep 13, 2012 at 5:30 AM, Neal Becker <ndbecker2@gmail.com> wrote:
> I noticed this and thought it looked interesting:
>
> http://search.cpan.org/~dconway/Regexp-
> Grammars-1.021/lib/Regexp/Grammars.pm#DESCRIPTION
>
> I'm wondering if python has something equivalent?

The pyparsing module is a good option for building grammar parsers.
There's nothing that I know of that tries to slot them into regular
expressions like that.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web