Re: Yet another "split string by spaces preserving single quotes" problem

2012-05-15 Thread Steven D'Aprano
On Sun, 13 May 2012 14:14:58 -0700, Massi wrote: > Hi everyone, > I know this question has been asked thousands of times, but in my case I > have an additional requirement to be satisfied. I need to handle > substrings in the form 'string with spaces':'another string with spaces' > as a single tok

Re: Yet another "split string by spaces preserving single quotes" problem

2012-05-14 Thread Tim Chase
On 05/13/12 16:14, Massi wrote: > Hi everyone, > I know this question has been asked thousands of times, but in my case > I have an additional requirement to be satisfied. I need to handle > substrings in the form 'string with spaces':'another string with > spaces' as a single token; I mean, if I h