Serhiy Storchaka added the comment:

Yes, it is non-greedy. But it needs matching not just '</p>', but '</p></div>'. 
After finding the first '</p>' it doesn't see the '</div>' after it and 
continue searching until found '</p></div>'.

----------

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

Reply via email to