Ramchandra Apte <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue14068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to