Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment: The quantifiers use 65535 to represent no upper limit, so ".{0,65535}" is equivalent to ".*".
For example: >>> re.match(".*", "x" * 100000).span() (0, 100000) >>> re.match(".{0,65535}", "x" * 100000).span() (0, 100000) but: >>> re.match(".{0,65534}", "x" * 100000).span() (0, 65534) ---------- nosy: +mrabarnett _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13169> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com