mwt wrote:
> Hi -
> I'm working on parsing a file that has data that looks like the sample
> below.
>
> Here's a sample of the data:
>
> Index 4: folding now
> server: 171.65.199.158:8080; project: 1809
> Folding: run 17, clone 19, generation 35; benchmark 669; misc: 500,
> 400
> issue: W
OK. I think the solution was much easier than I thought. The key is the
semicolon. I'm doing it in 3 steps:
1) Break string into 13 lines
2) Split each line by the semi-colon
3) Ummm... done already.
Time to wake up. ;)
--
http://mail.python.org/mailman/listinfo/python-list
Hi -
I'm working on parsing a file that has data that looks like the sample
below. Obviously, I can't just split the string by colons. I'm pretty
new to regex, but I was thinking of something that would essentially
"split" by colons only if the are preceded by alpha characters -- thus
eliminating p