Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python': 0.09; 'sep': 0.09; 'cc:addr:python-list': 0.10; 'looked': 0.10; 'interesting:': 0.16; 'regex,': 0.16; 'wrote:': 0.17; 'skip:g 40': 0.17; 'thu,': 0.17; 'import': 0.21; 'received:209.85.216.46': 0.21; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'wondering': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'noticed': 0.28; "i'm": 0.29; 'received:google.com': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'url:org': 0.36; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'header:Received:5': 0.40; 'url:search': 0.83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KcghZgfbr9PncB1OxK+Y06A311oJAV3CaPedANzzafc=; b=Lmw4nwXKDx58ezR6y7tiFt0m+Wu9kZGbqfi3e2lG9dNcHmOrgZf5HzBVviFS59ZrKr a7G2uti31tJepGmiZSLR3JreLoTAuD5aP24bqsHQmxjIvCiZG6DQKVoDx+pcMDiWbn9O VyG7wQQgI5sTqE4tPug1NE9QO9HArz57uLB4BAO0AiJdsM87VTh19MPOUaAGV14+JbN8 0R731Z/azfqfsq9mdEpS72+2rbTFArgKIcBVEh5oXsPK6dTixK7Uts+b3nkpJmnTjfef ip3mQAeiSiwcP1rrYNbqoGSxYHGPAsQa4J1bVgdbOmmRkIUq8laxS3feQwfUkg2rmv8V 3wWw== MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 13 Sep 2012 14:43:11 -0400 Subject: Re: equiv of perl regexp grammar? From: Dwight Hutto To: Neal Becker Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347561794 news.xs4all.nl 6927 [2001:888:2000:d::a6]:59392 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29066 On Thu, Sep 13, 2012 at 7:30 AM, Neal Becker 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