On 19 août, 19:33, Matt Funk <matze...@gmail.com> wrote: > > The results obtained are: > results: > [(' 2.199000e+01', ' : (instance: 0)\t:\tsome description')] > so this matches the last number plus the string at the end of the line, but no > retaining the previous numbers. > > Anyway, i think at this point i will go another route. Not sure where the > issues lies at this point. >
Seen on this list: And always keep this in mind: 'Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.' --Jamie Zawinski, comp.lang.emacs I proposed a solution which seems to corresponds to your problem if it were better formulated... jmf -- http://mail.python.org/mailman/listinfo/python-list