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


Groups > comp.lang.python > #29068

Re: equiv of perl regexp grammar?

References <k2sg56$hd8$1@ger.gmane.org>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2012-09-13 12:54 -0600
Subject Re: equiv of perl regexp grammar?
Newsgroups comp.lang.python
Message-ID <mailman.630.1347562513.27098.python-list@python.org> (permalink)

Show all headers | View raw


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.

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


Thread

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

csiph-web