Problem parsing the input

dudeja.rajat at gmail.com dudeja.rajat at gmail.com
Tue Sep 16 14:50:37 CEST 2008


Hi,
I've a following input:

*****
- Burst_Length not read from ini file
?      -
+ BurstLength not read from ini file
*****
- PilotTracking_Timing not read from ini file
? ^^^^^^^^^^^^^^
+ NumTimings not read from ini file
*****
- Analysis Time (Iterations = 1) = 0.519444s
?                                     ^ ---
+ Analysis Time (Iterations = 1) = 0.562249s
*****
- Burst Position = 89511samples
?                      ^
+ Burst Position = 89510samples
*****
- Rising Edge Time = 371682us
?                         ^
+ Rising Edge Time = 371683us
*****

How can I find the the colored items from the input. I though of using RE
but don't know much about it.

The colored item can be dot notation e.g. 0.05678 or a whole digit as 5678

Please help



-- 
Regrads,
Rajat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080916/0476a65b/attachment.html>


More information about the Python-list mailing list