in reply to
Re: Splitting up quoted/escaped command line arguments
in thread Splitting up quoted/escaped command line arguments
Without knowing the name for it, I have already started trying to put together a state machine. I called it a "peel off" approach where I look through the string and peel things off one at a time, making sure to note and handle quoted things when I encounter them. I haven't got very far with it yet--just a few minutes working on the idea.
A mistake can be valuable or costly, depending on how faithfully you pursue correction