I can't figure out how to explode white spaces in a string excluding what's inside quotes. I have found several regular expressions that can do the job, but the particularity here is that the quotes are preceded by an equal sign:
string = 'arg1="value1" arg2="value2" arg3="value3 value4 value5"';
I was able to isolate what's contained inside the quotes, but I can't get the complete pair arg1="value1 value2"
Thanks for your help.