parsing an Excel formula with the re module

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Jan 14 04:05:21 CET 2010


En Wed, 13 Jan 2010 05:15:52 -0300, Paul McGuire <ptmcg at austin.rr.com>  
escribió:
>> vsoler wrote:
>> > Hence, I need toparseExcel formulas. Can I do it by means only of re
>> > (regular expressions)?
>
> This might give the OP a running start:
>
> from pyparsing import (CaselessKeyword, Suppress, ...

Did you build those parsing rules just by common sense, or following some  
actual specification?

-- 
Gabriel Genellina




More information about the Python-list mailing list