Task: Split String by Spaces Preserving Quoted Substrings
Task: Split String by Spaces Preserving Quoted Substrings: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that splits a string by spaces while preserving quoted substrings as single elements. Spaces inside quoted portions should not be treated as delimiters.
Part of PrimeIntellect/Terminal-Lego-15k.