Antoine Pitrou added the comment: Actually, it is enough to change the regexp while still using re.split(). Updated patch attached.
---------- Added file: http://bugs.python.org/file37180/wordsplit_complexity2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22687> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com