fork(3) download
  1. # your code goes here
  2.  
  3.  
  4. a='one two three four\ five';
  5. b=a.split(/(?<!\\)\s+/);
  6. print(b);
  7.  
Success #stdin #stdout 0.02s 9768KB
stdin
Standard input is empty
stdout
["one", "two", "three", "four\\ five"]