Magesh Kumar added the comment:

Thanks for the inputs, It would be of great help, if someone could help me in 
explaining the below output :
========================================================================
>>> a 
'ype="str">false</latency_statistics_enabled><name 
type="str">Default</name><aggregates type="list"><item type="dict"><aggregate 
type="list"><root><type type="str">MulticastClient</root><is'
>>> b = re.sub('\</?root\>', '', a, re.I)
>>> b
'ype="str">false</latency_statistics_enabled><name 
type="str">Default</name><aggregates type="list"><item type="dict"><aggregate 
type="list"><type type="str">MulticastClient<is'
========================================================================

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26354>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to