fork(18) download
  1. import re
  2.  
  3. line = r'defenders\t2\n';
  4.  
  5. print re.split(r'[\n\t]', line)
Success #stdin #stdout 0.01s 7728KB
stdin
Standard input is empty
stdout
['defenders\\t2\\n']