Re: help with regex matching multiple %e

2011-03-03 Thread Matt Funk
Thanks, works great. matt On 3/3/2011 10:53 AM, MRAB wrote: > On 03/03/2011 17:33, maf...@nmsu.edu wrote: >> Hi, >> >> i have a line that looks something like: >> 2.234e+04 3.456e+02 7.234e+07 1.543e+04: some description >> >> I would like to extract all the numbers. From the python website i >>

Re: help with regex matching multiple %e

2011-03-03 Thread MRAB
On 03/03/2011 17:33, maf...@nmsu.edu wrote: Hi, i have a line that looks something like: 2.234e+04 3.456e+02 7.234e+07 1.543e+04: some description I would like to extract all the numbers. From the python website i got the following expression for matching what in c is %e (i.e. scientific format