Hmm, yes, it's possible. But I think it will be much more overhead to load and parse whole long output text via regexp engine rather than simply check every line for starting char sequence and then parse only one short line needed. Code could be few lines shorter though. 

Not sure what approach is more pythonic here, yet on my device hardware resources are limited, so I prefer to write little more code and eat little less CPU/RAM.