[Python-Dev] New string method - splitquoted
Dave Cinege
dcinege-mlists-dated-1148408543.14cf06 at psychosis.com
Thu May 18 20:22:17 CEST 2006
On Thursday 18 May 2006 04:21, Giovanni Bajo wrote:
> It's already there. It's called shlex.split(), and follows the semantic of
> a standard UNIX shell, including escaping and other things.
Not quite. As I said in my other post, simple is the idea for this, just like
the split method itself. (no escaping, etc.....just recognizing delimiters
as an exception to the split seperatation)
shlex.split() does not let one choose the separator or use a maxsplit, nor is
it a pure method to strings.
Dave
More information about the Python-Dev
mailing list