On Wed, Sep 2, 2009 at 12:27, Gökhan Sever<gokhanse...@gmail.com> wrote: > > On Wed, Sep 2, 2009 at 12:01 PM, Citi, Luca <lc...@essex.ac.uk> wrote: >> >> If I understand the problem... >> if you are 100% sure that "', '" only occurs between fields >> and never within, you can use the 'split' method of the string >> which could be faster than regexp in this simple case. >> _______________________________________________ >> NumPy-Discussion mailing list >> NumPy-Discussion@scipy.org >> http://mail.scipy.org/mailman/listinfo/numpy-discussion > > But it is not possible to extract a pattern such as within a field. A > construct like in regex starting with a ; till the end of the section. ??
I can't parse that sentence. Can you describe the format in a little more detail? Or point to documentation of the format? Or the IDL code that parses it? -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion