[issue14068] problem with re split

Ramchandra Apte report at bugs.python.org
Tue Feb 21 11:11:34 CET 2012


Ramchandra Apte <maniandram01 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14068>
_______________________________________


More information about the Python-bugs-list mailing list