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


Groups > comp.lang.python > #29066

Re: equiv of perl regexp grammar?

References <k2sg56$hd8$1@ger.gmane.org>
Date 2012-09-13 14:43 -0400
Subject Re: equiv of perl regexp grammar?
From Dwight Hutto <dwightdhutto@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.628.1347561794.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Sep 13, 2012 at 7: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?
>

If you mean regex, it's import re.


-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com

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


Thread

Re: equiv of perl regexp grammar? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-13 14:43 -0400

csiph-web