[Python-ideas] This seems like a wart to me...

Stephen J. Turnbull stephen at xemacs.org
Fri Dec 12 03:32:35 CET 2008


Ron Adam writes:

 > These examples was just what a "new" programmer might attempt.  I have a 
 > feeling that most new programmers do not attempt regular expressions ie.. 
 > the re module, until sometime after they have learned the basics of python.

Adding a str.split_on_any_of() would violate TOOWDTI, though.

I think this is best addressed by an xref to re.split in the doc for
str.split.



More information about the Python-ideas mailing list