Florian Weimer added the comment:

> "*" pattern is replace with '[^.]+' regex, so I may not cause the exponential 
> complexity issue. (I didn't check.)

A possessive quantifier might also help, that is [^.]+?.

----------

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

Reply via email to