Ramchandra Apte <maniandra...@gmail.com> added the comment: 启朗.杨, are you using text.split() in the second case? text.split() splits on any whitespace character including newlines while re.split(text," ") splits on a space.
---------- nosy: +ramchandra.apte _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14068> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com