Quote-aware string splitting

Jeffrey Froman jeffrey at fro.man
Tue Apr 26 10:35:44 EDT 2005


Bengt Richter wrote:

> Oops, note some spaces inside quotes near ss and missing double quotes in
> result.

And here I thought the main problem with my answer was that it didn't split
unquoted segments into separate words at all! Clearly I missed the
generalization being sought, and a more robust solution is in order.
Fortunately, others have been forthcoming with them.

Thank you,
Jeffrey



More information about the Python-list mailing list