m/([^\s"]+|[^\s"]*(?:"[^"]*"))/g [download]
In reply to Re^4: Not quite a simple split by Roy Johnson in thread Not quite a simple split by John M. Dlugosz